Changeset 496 for trunk


Ignore:
Timestamp:
12/28/10 13:02:08 (13 years ago)
Author:
bas
Message:

applied patch that fixes some dicussion plugin problems, closes #231

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r495 r496  
    5353     Reported by: hju add jochenkuhl dot de
    5454     Author: Bas van der Vlies
     55
     56   * Fixed some errors in Discussion plugin support, closes #231
     57     Author: Dennis (dmcrxi add Princeton dot EDU)
     58     Applied by: Bas van der Vlies
    5559
    56601.6.0 (2010-8-10)
  • trunk/debian/changelog

    r495 r496  
     1email2trac (1.7.0-4) stable; urgency=low
     2
     3  *  See Changelog
     4
     5 -- bas van der Vlies <bas@sara.nl>  Tue, 28 Dec 2010 13:00:48 +0100
     6
    17email2trac (1.7.0-3) stable; urgency=low
    28
  • trunk/email2trac.py.in

    r495 r496  
    579579        def print_unicode(self,s):
    580580                """
    581                 This function prints unicode strings uif possible else it will quote it
     581                This function prints unicode strings if possible else it will quote it
    582582                """
    583583                try:
     
    13201320                from trac.util.datefmt import to_timestamp, utc
    13211321
    1322                 self.loggger.debug('Replying to discussion message', self.id)
     1322                self.logger.debug('Replying to discussion message', self.id)
    13231323
    13241324                ## Get dissussion API component.
     
    13781378                req.authname = self.author
    13791379                req.perm = PermissionCache(self.env, self.author)
     1380                req.locale = None
    13801381
    13811382                ## Create and return context.
     
    15251526                blog_regex = ''
    15261527                if self.get_config('components', 'tracfullblog.*') in ['enabled']:
     1528                        self.logger.debug('Trac BLOG support enabled')
    15271529                        blog_enabled = True
    15281530                        blog_regex = '''|(?P<blog>blog:(?P<blog_id>\w*))'''
     
    15331535                discussion_enabled = None
    15341536                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')
    15361539                        discussion_enabled = True
    15371540                        discussion_regex = r'''
     
    21862189        if (parameters.log_level in ['DEBUG', 'ALL']) or (parameters.debug > 0):
    21872190                logger.setLevel(logging.DEBUG)
     2191                parameters.debug = 1
    21882192
    21892193        elif parameters.log_level in ['INFO'] or parameters.verbose:
Note: See TracChangeset for help on using the changeset viewer.