summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/mhlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index 7dbe875..aab560b 100644
--- a/Lib/mhlib.py
+++ b/Lib/mhlib.py
@@ -690,7 +690,7 @@ class Message(mimetools.Message):
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