summaryrefslogtreecommitdiffstats
path: root/Lib/email/Iterators.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-04 05:36:56 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-04 05:36:56 (GMT)
commit527e64fd68046cb6e2ff35afaf077160346d37ff (patch)
tree3cf41f7c2d1dcaabb1e36a89981820e2e4922800 /Lib/email/Iterators.py
parent2f93e28a19e3f250e8c19f9f4334cfa76f5e3645 (diff)
downloadcpython-527e64fd68046cb6e2ff35afaf077160346d37ff.zip
cpython-527e64fd68046cb6e2ff35afaf077160346d37ff.tar.gz
cpython-527e64fd68046cb6e2ff35afaf077160346d37ff.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/email/Iterators.py')
-rw-r--r--Lib/email/Iterators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/Iterators.py b/Lib/email/Iterators.py
index d1ee53f..cd08f37 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.