diff options
author | Barry Warsaw <barry@python.org> | 2001-10-04 17:05:11 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-10-04 17:05:11 (GMT) |
commit | e968ead1dd80fd7fb97cd273626b530996ea0c7b (patch) | |
tree | 986c2f9398dfb612c92f1b20c14702c9aa7390ad /Lib/email/Iterators.py | |
parent | a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc (diff) | |
download | cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.zip cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.tar.gz cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.tar.bz2 |
Give me back my page breaks.
Diffstat (limited to 'Lib/email/Iterators.py')
-rw-r--r-- | Lib/email/Iterators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/Iterators.py b/Lib/email/Iterators.py index cd08f37..d1ee53f 100644 --- a/Lib/email/Iterators.py +++ b/Lib/email/Iterators.py @@ -9,7 +9,7 @@ from cStringIO import StringIO from types import StringType - + def body_line_iterator(msg): """Iterate over the parts, returning string payloads line-by-line.""" for subpart in msg.walk(): @@ -19,7 +19,7 @@ def body_line_iterator(msg): yield line - + def typed_subpart_iterator(msg, maintype='text', subtype=None): """Iterate over the subparts with a given MIME type. |