Changeset 496 for trunk/email2trac.py.in
- Timestamp:
- 12/28/10 13:02:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r495 r496 579 579 def print_unicode(self,s): 580 580 """ 581 This function prints unicode strings uif possible else it will quote it581 This function prints unicode strings if possible else it will quote it 582 582 """ 583 583 try: … … 1320 1320 from trac.util.datefmt import to_timestamp, utc 1321 1321 1322 self.logg ger.debug('Replying to discussion message', self.id)1322 self.logger.debug('Replying to discussion message', self.id) 1323 1323 1324 1324 ## Get dissussion API component. … … 1378 1378 req.authname = self.author 1379 1379 req.perm = PermissionCache(self.env, self.author) 1380 req.locale = None 1380 1381 1381 1382 ## Create and return context. … … 1525 1526 blog_regex = '' 1526 1527 if self.get_config('components', 'tracfullblog.*') in ['enabled']: 1528 self.logger.debug('Trac BLOG support enabled') 1527 1529 blog_enabled = True 1528 1530 blog_regex = '''|(?P<blog>blog:(?P<blog_id>\w*))''' … … 1533 1535 discussion_enabled = None 1534 1536 discussion_regex = '' 1535 if self.get_config('components', 'tracdiscussion.api.*') in ['enabled']: 1537 if self.get_config('components', 'tracdiscussion.api.discussionapi' in ['enabled']: 1538 self.logger.debug('Trac Discussion support enabled') 1536 1539 discussion_enabled = True 1537 1540 discussion_regex = r''' … … 2186 2189 if (parameters.log_level in ['DEBUG', 'ALL']) or (parameters.debug > 0): 2187 2190 logger.setLevel(logging.DEBUG) 2191 parameters.debug = 1 2188 2192 2189 2193 elif parameters.log_level in ['INFO'] or parameters.verbose:
Note: See TracChangeset
for help on using the changeset viewer.