parent
3776760a39
commit
305d2678c3
|
@ -52,7 +52,7 @@ class MboxMsgBuffer(Buffer):
|
||||||
def _get_lines(self):
|
def _get_lines(self):
|
||||||
d = {}
|
d = {}
|
||||||
for name in ('delivered-to', 'to', 'from', 'subject', 'date'):
|
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', ' '))
|
d[name] = cont_re.sub(' ', s.replace('\t', ' '))
|
||||||
lines = [
|
lines = [
|
||||||
'Delivered-To: ' + d['delivered-to'],
|
'Delivered-To: ' + d['delivered-to'],
|
||||||
|
|
Loading…
Reference in New Issue