branch : pmacs2
This commit is contained in:
moculus 2009-03-10 14:27:20 +00:00
parent 3776760a39
commit 305d2678c3
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class MboxMsgBuffer(Buffer):
def _get_lines(self):
d = {}
for name in ('delivered-to', 'to', 'from', 'subject', 'date'):
s = self.msg.get(name)
s = self.msg.get(name, '')
d[name] = cont_re.sub(' ', s.replace('\t', ' '))
lines = [
'Delivered-To: ' + d['delivered-to'],