diff options
author | Nikolaus Schulz <microschulz@web.de> | 2008-08-09 02:56:19 +0200 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-19 01:13:24 +0200 |
commit | a7414319c9d21f271d75e82cb3efa2e3ceffaa68 (patch) | |
tree | aa9762cba75791bcb8406957c911d0496b62902d /index.html | |
parent | b37b3d627e1292f33dbf7bc44a7840ba15d72057 (diff) | |
download | archivemail-a7414319c9d21f271d75e82cb3efa2e3ceffaa68.tar.gz archivemail-a7414319c9d21f271d75e82cb3efa2e3ceffaa68.tar.bz2 archivemail-a7414319c9d21f271d75e82cb3efa2e3ceffaa68.zip |
Simplify the final committing of the mailbox and archive
* Make the finalise() methods spot if they have anything to do
* We used to create the temporary mbox files on demand in the message
processing loop, if we needed to write to them. Now we create them
beforehand, but only if they might be needed (e.g. we don't create an
archive if options.delete_old_mail is set).
* The above combined makes the final committing of the changes simpler (a
*lot* simpler for mboxes), and we can dump the Mbox.leave_empty() method.
Diffstat (limited to 'index.html')
0 files changed, 0 insertions, 0 deletions