Terminate each message in newly written mbox with an empty line.
This commit is contained in:
parent
539894ced4
commit
a0994e6a57
|
@ -336,6 +336,7 @@ class Mbox(mailbox.UnixMailbox):
|
|||
if not body:
|
||||
break
|
||||
self.mbox_file.write(body)
|
||||
self.mbox_file.write(os.linesep)
|
||||
|
||||
def remove(self):
|
||||
"""Close and delete the 'mbox' mailbox file"""
|
||||
|
|
Loading…
Reference in New Issue