Changeset 564 for trunk/email2trac.py.in


Ignore:
Timestamp:
08/22/11 10:54:04 (9 years ago)
Author:
bas
Message:

Only use repr() in subject logging, still convert subject to unicode, see #267

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r563 r564  
    16351635            subject  = 'No Subject'
    16361636        else:
    1637             ## Bug in python logging module <2.6
    1638             #subject  = self.email_to_unicode(m['Subject'])
    1639             subject  = repr(m['Subject'])
    1640 
    1641         self.logger.info('subject: %s' %subject)
     1637            subject  = self.email_to_unicode(m['Subject'])
     1638
     1639        ## Bug in python logging module <2.6
     1640        #
     1641        self.logger.info('subject: %s' %repr(subject))
    16421642
    16431643        ## [hic] #1529: Re: LRZ
Note: See TracChangeset for help on using the changeset viewer.