summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-03-06 06:37:42 (GMT)
committerBarry Warsaw <barry@python.org>2003-03-06 06:37:42 (GMT)
commit671c3e6373fe89618245e9030e4a4b7c217551f3 (patch)
tree6452d12b48bba781d0458107ac8a76086dbdd28a /Lib/email
parent1a2c37316bd0b4a003f9a5ed5634459787556c26 (diff)
downloadcpython-671c3e6373fe89618245e9030e4a4b7c217551f3.zip
cpython-671c3e6373fe89618245e9030e4a4b7c217551f3.tar.gz
cpython-671c3e6373fe89618245e9030e4a4b7c217551f3.tar.bz2
decode_header(): Typo when appending an unencoded chunk to the
previous unencoded chunk (e.g. when they appear on separate lines). Closes the 2nd bug in SF #640110 (the first one's already been fixed).
Diffstat (limited to 'Lib/email')
-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 abc342c..a6a1b07 100644
--- a/Lib/email/Header.py
+++ b/Lib/email/Header.py
@@ -92,7 +92,7 @@ def decode_header(header):
if unenc:
# Should we continue a long line?
if decoded and decoded[-1][1] is None:
- decoded[-1] = (decoded[-1][0] + dec, None)
+ decoded[-1] = (decoded[-1][0] + SPACE + unenc, None)
else:
decoded.append((unenc, None))
if parts: