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