From 305d2678c38d8d6b7699ece13739b403925382e8 Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 10 Mar 2009 14:27:20 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/mbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/mbox.py b/mode/mbox.py index c229234..99025d9 100644 --- a/mode/mbox.py +++ b/mode/mbox.py @@ -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'],