Kaydet (Commit) c9838f9f authored tarafından Eric S. Raymond's avatar Eric S. Raymond

Test with an actual mbox caught a trivial error.

üst 304b6a32
...@@ -690,7 +690,7 @@ class Message(mimetools.Message): ...@@ -690,7 +690,7 @@ class Message(mimetools.Message):
if i > 0: if i > 0:
hit = pred(line[:i].lower()) hit = pred(line[:i].lower())
if hit: headers.append(line) if hit: headers.append(line)
return ''.joinfields(headers) return ''.join(headers)
def getbodytext(self, decode = 1): def getbodytext(self, decode = 1):
"""Return the message's body text as string. This undoes a """Return the message's body text as string. This undoes a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment