summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-09-10 15:57:29 (GMT)
committerBarry Warsaw <barry@python.org>2002-09-10 15:57:29 (GMT)
commit45d9bde6c1053cde2a73043785778e5e0262103d (patch)
tree164f940bb7862c67a7231deeb2cbb2bf56689ff6 /Lib
parent24d45df3f2a4e549fc115a77a250a98861c06750 (diff)
downloadcpython-45d9bde6c1053cde2a73043785778e5e0262103d.zip
cpython-45d9bde6c1053cde2a73043785778e5e0262103d.tar.gz
cpython-45d9bde6c1053cde2a73043785778e5e0262103d.tar.bz2
_ascii_split(): Don't lstrip continuation lines. Closes SF bug #601392.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/Header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/Header.py b/Lib/email/Header.py
index 2457279..70e0bac 100644
--- a/Lib/email/Header.py
+++ b/Lib/email/Header.py
@@ -250,7 +250,7 @@ class Header:
maxlinelen = self._firstlinelen
firstline = 0
else:
- line = line.lstrip()
+ #line = line.lstrip()
maxlinelen = self._maxlinelen
# Short lines can remain unchanged
if len(line.replace('\t', SPACE8)) <= maxlinelen: