From c9838f9fcbf138b454606d606f7b53a5be21b5ae Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 10:28:34 +0000 Subject: [PATCH] Test with an actual mbox caught a trivial error. --- Lib/mhlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/mhlib.py b/Lib/mhlib.py index 7dbe8755573..aab560bb6e3 100644 --- a/Lib/mhlib.py +++ b/Lib/mhlib.py @@ -690,7 +690,7 @@ def getheadertext(self, pred = None): if i > 0: hit = pred(line[:i].lower()) if hit: headers.append(line) - return ''.joinfields(headers) + return ''.join(headers) def getbodytext(self, decode = 1): """Return the message's body text as string. This undoes a