summaryrefslogtreecommitdiffstats
path: root/Lib/email/generator.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2009-03-30 23:12:30 (GMT)
committerBarry Warsaw <barry@python.org>2009-03-30 23:12:30 (GMT)
commit70d61cedf7b2efe358d11a6a14fe654f21f2598c (patch)
treec85e376ced8722559702621905cfdf2fd6f4f5e1 /Lib/email/generator.py
parent35d1f00902d6665f7f833bda5fad2fb6c0efce95 (diff)
downloadcpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.zip
cpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.tar.gz
cpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.tar.bz2
"Port" the fix for issue 1974 from the trunk (2.7). Because Python 3.x does things much better, less changes are necessary.
This also shoves test_email_codecs_rename.py onto test_email_codecs.py even though the test needs to be ported to Python 3.
Diffstat (limited to 'Lib/email/generator.py')
-rw-r--r--Lib/email/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/generator.py b/Lib/email/generator.py
index ada14df..2b4d182 100644
--- a/Lib/email/generator.py
+++ b/Lib/email/generator.py
@@ -138,7 +138,7 @@ class Generator:
else:
# Header's got lots of smarts, so use it.
header = Header(v, maxlinelen=self._maxheaderlen,
- header_name=h, continuation_ws='\t')
+ header_name=h)
print(header.encode(), file=self._fp)
# A blank line always separates headers from body
print(file=self._fp)