Public bug reported:
If an email has no plain text part, the Approved rule will crash with the
following message:
AttributeError: 'NoneType' object has no attribute 'get_payload'
The attached patch fixes the bug and adds a unit test for it. It's been
generated from the current bzr branch.
** Affects: mailman
Importance: Undecided
Status: New
** Patch added: "mailman-notextpart.patch"
https://bugs.launchpad.net/bugs/1158721/+attachment/3590081/+files/mailman-notextpart.patch
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1158721
Title:
Emails without a text/plain part crash the Approved rule
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1158721/+subscriptions
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders