Changeset 329


Ignore:
Timestamp:
03/23/10 11:42:56 (14 years ago)
Author:
bas
Message:

Really fixed the bug when subject is not set

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r327 r329  
    1313
    1414    Reported by: shildebrand at venturebeat dot com
     15    Fixed by: Bas van der Vlies
     16
     17  * Fixed a bug when there is no subject field in the message, closes #179
     18    The fix in the 1.2.0 version did not work.
     19    Reported by: xurizaemon and John Donners (SARA)
    1520    Fixed by: Bas van der Vlies
    1621
  • trunk/email2trac.py.in

    r328 r329  
    10571057                if self.get_config('components', 'tracfullblog.*') in ['enabled']:
    10581058                        blog_enabled = True
    1059                        
     1059
     1060                print m['Subject']     
    10601061                if not m['Subject']:
    1061                         return False
     1062                        subject  = 'No Subject'
    10621063                else:
    10631064                        subject  = self.email_to_unicode(m['Subject'])         
Note: See TracChangeset for help on using the changeset viewer.