Terminate each message in newly written mbox with an empty line.

This commit is contained in:
Nikolaus Schulz 2006-10-12 17:35:37 +00:00
parent 539894ced4
commit a0994e6a57
1 changed files with 1 additions and 0 deletions

View File

@ -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"""