summaryrefslogtreecommitdiffstats
path: root/Lib/email/iterators.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 22:36:02 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-09 22:36:02 (GMT)
commit9b8850439cc39c72db3e0c3b1a7e9cf00c643b13 (patch)
tree85b58116dcca3de868be6ab9f67a927a9b32fb16 /Lib/email/iterators.py
parent8df511b5f69017e05eb0d7745bc76b95e6ec7d63 (diff)
downloadcpython-9b8850439cc39c72db3e0c3b1a7e9cf00c643b13.zip
cpython-9b8850439cc39c72db3e0c3b1a7e9cf00c643b13.tar.gz
cpython-9b8850439cc39c72db3e0c3b1a7e9cf00c643b13.tar.bz2
Fairly subtle fix for failing tests.
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 4f2c84c..155e19e 100644
--- a/Lib/email/iterators.py
+++ b/Lib/email/iterators.py
@@ -63,9 +63,9 @@ def _structure(msg, fp=None, level=0, include_default=False):
if fp is None:
fp = sys.stdout
tab = ' ' * (level * 4)
- print(tab + msg.get_content_type(), end=' ', file=fp)
+ print(tab + msg.get_content_type(), end='', file=fp)
if include_default:
- print('[%s]' % msg.get_default_type(), file=fp)
+ print(' [%s]' % msg.get_default_type(), file=fp)
else:
print(file=fp)
if msg.is_multipart():