1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2024-12-22 15:56:27 +00:00

Fixed crash when archiving an empty maildir with python 2.5.

The incompatible changes in mailbox.Maildir triggered an assertion in
_archive_dir(); removing that assertion since it looks not useful anyway.
This commit is contained in:
Nikolaus Schulz 2008-03-15 18:42:56 +00:00
parent 22e23d9d38
commit c0f0ad33d7

View file

@ -1287,7 +1287,6 @@ def _archive_dir(mailbox_name, final_archive_name, type):
original = mailbox.MHMailbox(mailbox_name) original = mailbox.MHMailbox(mailbox_name)
else: else:
unexpected_error("unknown type: %s" % type) unexpected_error("unknown type: %s" % type)
assert(original)
cache = IdentityCache(mailbox_name) cache = IdentityCache(mailbox_name)