[issue15222] mailbox.mbox writes without empty line after each message

lilydjwg report at bugs.python.org
Wed Jul 4 07:55:57 CEST 2012


lilydjwg <lilydjwg at gmail.com> added the comment:

Hi, I have figured it out.

The 'mbox2' file should be in correct format now.
Run './bug.py' once to delete the last mail.
'cat newmail >> mbox2' to append a new mail to that mbox.
Run './bug.py' again.

Now, 'mbox2' doesn't have a newline at the end. (And I think a correct mbox should end with a blank line?)

----------
status: pending -> open
Added file: http://bugs.python.org/file26254/mbox2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15222>
_______________________________________


More information about the Python-bugs-list mailing list