Changeset 319
- Timestamp:
- 02/22/10 15:13:34 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/changelog
r316 r319 13 13 Applied by: Bas van der Vlies 14 14 15 * Fixed a bug when there is no subject linein the message, closes #17915 * Fixed a bug when there is no subject field in the message, closes #179 16 16 Reported by: xurizaemon 17 17 Fixed by: Bas van der Vlies 18 19 * Added unicode support attachment filenames, closes #177 20 Reported by: obwandner add concertare dot de 21 Fixed by: Bas van der Vlies 22 23 * Email to blog did not work at all. It works but it can not handle 24 attachments. see #175. 25 Reported by: oland dot wells add gmail.com 26 Patches : Bas van der Vlies 18 27 19 28 -- Bas van der Vlies <basv@sara.nl> Wed, 27 Jan 2010 16:17:41 +0100 -
trunk/email2trac.py.in
r318 r319 927 927 ## Save the attachments to the ticket 928 928 # 929 has_attachments = self.attachments(message_parts) 930 931 # Disabled 932 #if has_attachments: 933 # changed = True 934 # comment = '%s\n%s\n' %(comment, has_attachments) 929 error_with_attachments = self.attachments(message_parts) 930 931 if error_with_attachments: 932 changed = True 933 comment = '%s\n%s\n' %(comment, error_with_attachments) 935 934 936 935 if changed: … … 1508 1507 # 1509 1508 max_size = int(self.get_config('attachment', 'max_size')) 1510 status = ''1509 status = None 1511 1510 1512 1511 for part in message_parts: … … 1564 1563 os.unlink(path) 1565 1564 1566 # Return how many attachments 1567 # 1568 status = 'This message has %d attachment(s)\n%s' %(count, status) 1565 ## return error 1566 # 1569 1567 return status 1570 1568
Note: See TracChangeset
for help on using the changeset viewer.