Changeset 292


Ignore:
Timestamp:
01/04/10 16:25:06 (11 years ago)
Author:
bas
Message:

Do not show the message, 'This message has X attachment(s)' in the changelog of a ticket, closes #165

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r291 r292  
    1818   Author: Dennis McRitchie ( dmcr at Princeton dot EDU )
    1919   Applied by: Bas van der Vlies
    20    
     20
     21 * Disabled code so the following line will not be displayed anymore
     22   as comment in a ticket:
     23     * This message has x attachment(s)
     24   Suggested by: dereks at realloc dot net, closes ticket #165
     25   Fixed by    : Bas van der Vlies
     26
    2127 -- Bas van der Vlies <bas@sara.nl>  Thu, 22 Oct 2009 17:47:50 +0200
    2228
  • trunk/email2trac.py.in

    r291 r292  
    837837                        tkt['description'] = u'%s\r\n%s%s\r\n' \
    838838                                %(head, mailto, body_text)
    839 
    840                 has_attachments =  self.attachments(message_parts)
    841                 if has_attachments:
    842                         changed = True
    843                         comment = '%s\n%s\n' %(comment, has_attachments)
     839               
     840                #  Disabled
     841                #has_attachments =  self.attachments(message_parts)
     842                #if has_attachments:
     843                #       changed = True
     844                #       comment = '%s\n%s\n' %(comment, has_attachments)
    844845
    845846                if changed:
Note: See TracChangeset for help on using the changeset viewer.