Changeset 295
- Timestamp:
- 01/06/10 14:03:06 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/changelog
r293 r295 25 25 Fixed by : Bas van der Vlies 26 26 27 28 * Added a new parameter strip_content_types. So we can strip attachments 29 based on content type, eg: 30 * strip_content_types: application/pgp-signature, application/mac-binhex40 31 32 Will strip attachments that has these content_types. 33 Authors: otto at bergerdata dot de and Bas van der Vlies 34 27 35 -- Bas van der Vlies <bas@sara.nl> Thu, 22 Oct 2009 17:47:50 +0200 28 36 -
trunk/email2trac.py.in
r294 r295 829 829 changed = True 830 830 831 # Rewrite the description if we have mailto enabled831 ## Rewrite the description if we have mailto enabled 832 832 # 833 833 if self.MAILTO: … … 838 838 tkt['description'] = u'%s\r\n%s%s\r\n' \ 839 839 %(head, mailto, body_text) 840 840 841 ## Save the attachments to the ticket 842 # 843 has_attachments = self.attachments(message_parts) 844 841 845 # Disabled 842 #has_attachments = self.attachments(message_parts)843 846 #if has_attachments: 844 847 # changed = True … … 1201 1204 if filename: 1202 1205 filename = self.email_to_unicode(filename) 1206 1203 1207 # If no name, use a default one 1204 1208 else:
Note: See TracChangeset
for help on using the changeset viewer.