mirror of
https://git.code.sf.net/p/archivemail/code
synced 2024-12-22 07:42:55 +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:
parent
22e23d9d38
commit
c0f0ad33d7
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue