summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 10:28:34 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 10:28:34 (GMT)
commitc9838f9fcbf138b454606d606f7b53a5be21b5ae (patch)
tree88f93082e005c23dd9fae8b8fc412cbf2dc65aef /Lib
parent304b6a32257a1e42c043c6c8c8ddd4360a7baa4f (diff)
downloadcpython-c9838f9fcbf138b454606d606f7b53a5be21b5ae.zip
cpython-c9838f9fcbf138b454606d606f7b53a5be21b5ae.tar.gz
cpython-c9838f9fcbf138b454606d606f7b53a5be21b5ae.tar.bz2
Test with an actual mbox caught a trivial error.
Diffstat (limited to 'Lib')
-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