TypeError thrown when None returned by Caiwireless
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flufl.bounce |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
The Caiwireless detector returns None if the message is multipart/mixed but no failures were found.
> ipython
>>> from flufl.bounce import scan_message
>>> from email import message_from_file
>>> scan_message(
No handlers could be found for logger "flufl.bounce"
-------
TypeError Traceback (most recent call last)
/home/paul/
----> 1 scan_message(
/home/paul/
68 log.info('Running detector: {0}'.format(
69 try:
---> 70 temporary, permanent = detector_
71 except Exception:
72 log.exception(
TypeError: 'NoneType' object is not iterable
Related branches
Changed in flufl.bounce: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Barry Warsaw (barry) |
Changed in flufl.bounce: | |
milestone: | none → 2.1 |
Changed in flufl.bounce: | |
status: | Fix Committed → Fix Released |
First time using LaunchPad and not sure if linking a branch generates an email alert... so here's an explicit note: bazaar. launchpad. net/~paulegan/ flufl.bounce/ caiwireless- bug-917720/ revision/ 28/flufl/ bounce/ _detectors/ caiwireless. py
http://