diff roundup/mailgw.py @ 4425:0bb3054274b8

- some formatting - fix broken regression-test for message/rfc822 in test_multipart -- the rfc822 message must have its own header -- this is where we have to look for the subject. This means we have to include a newline before the Subject in the test-message, otherwise the Subject line is part of the mime header, not part of the email attachment.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Wed, 06 Oct 2010 14:13:09 +0000
parents f1affb6b7a08
children 502a1a8620e6
line wrap: on
line diff
--- a/roundup/mailgw.py	Tue Oct 05 14:24:25 2010 +0000
+++ b/roundup/mailgw.py	Wed Oct 06 14:13:09 2010 +0000
@@ -1295,7 +1295,7 @@
         # now handle the body - find the message
         ig = self.instance.config.MAILGW_IGNORE_ALTERNATIVES
         content, attachments = message.extract_content(ignore_alternatives=ig,
-            unpack_rfc822 = self.instance.config.MAILGW_UNPACK_RFC822)
+            unpack_rfc822=self.instance.config.MAILGW_UNPACK_RFC822)
         if content is None:
             raise MailUsageError, _("""
 Roundup requires the submission to be plain text. The message parser could

Roundup Issue Tracker: http://roundup-tracker.org/