]> granicus.if.org Git - python/commitdiff
_ascii_split(): Don't lstrip continuation lines. Closes SF bug #601392.
authorBarry Warsaw <barry@python.org>
Tue, 10 Sep 2002 15:57:29 +0000 (15:57 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 10 Sep 2002 15:57:29 +0000 (15:57 +0000)
Lib/email/Header.py

index 2457279013bfdc9f51ce7e62e026250fb8b053d1..70e0bac8629769b76af11de0041ae363092f3073 100644 (file)
@@ -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: