[issue11116] (mailbox and) email (errors) -> patch

SilentGhost report at bugs.python.org
Fri Feb 4 13:56:35 CET 2011


SilentGhost <ghost.adh at gmail.com> added the comment:

The patch would be better to say:

if not lines:
    continue

However, it could be even simpler to do:

for string, charset in self._chunks:
    if not string: continue

----------
nosy: +SilentGhost

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11116>
_______________________________________


More information about the Python-bugs-list mailing list