Commit 767126d7 authored by Neil Schemenauer's avatar Neil Schemenauer

Make Message.__str__ more efficient.

parent d85ed1b7
......@@ -460,10 +460,7 @@ class Message:
return self.dict.items()
def __str__(self):
str = ''
for hdr in self.headers:
str = str + hdr
return str
return ''.join(self.headers)
# Utility functions
......
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