]> granicus.if.org Git - python/commitdiff
Test with an actual mbox caught a trivial error.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 10:28:34 +0000 (10:28 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 10:28:34 +0000 (10:28 +0000)
Lib/mhlib.py

index 7dbe8755573f3e5d6f285d427e8beb7d0e35078a..aab560bb6e33adfdcaf2aff6d5d105e1b12f02aa 100644 (file)
@@ -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