From c0f0ad33d781def6aaf028ff99f368b87ed0e1f7 Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Sat, 15 Mar 2008 18:42:56 +0000 Subject: 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. --- archivemail.py | 1 - 1 file changed, 1 deletion(-) diff --git a/archivemail.py b/archivemail.py index b01ea35..6c24e6c 100755 --- a/archivemail.py +++ b/archivemail.py @@ -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) -- cgit v1.2.3