From a0994e6a57d6c02dc75e14b61cf5eef02ce16ade Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Thu, 12 Oct 2006 17:35:37 +0000 Subject: Terminate each message in newly written mbox with an empty line. --- archivemail.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archivemail.py') diff --git a/archivemail.py b/archivemail.py index 97acea6..7f22bba 100755 --- a/archivemail.py +++ b/archivemail.py @@ -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""" -- cgit v1.2.3