From 671c3e6373fe89618245e9030e4a4b7c217551f3 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 6 Mar 2003 06:37:42 +0000 Subject: 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). --- Lib/email/Header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12