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
1 changed files with 0 additions and 1 deletions

View File

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