Martin v. Löwis <mar...@v.loewis.de> added the comment:

This comes from mailgw.py. It does try to handle messages that are text/plain, 
and tries to treat messages with no MIME headers as text/plain. However, it 
overrides rfc822.Message.getheader to return '' for content-type, rather than 
None, which breaks the initialization of .type in mimetools.Message.

This, in turn, apparently comes from roundup 1.4.7. In upstream roundup, this 
has further been changed:

http://svn.roundup-tracker.org/viewvc/roundup/roundup/trunk/roundup/mailgw.py?revision=4617&view=markup

_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue398>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to