aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2008-03-15 18:42:56 +0000
committerNikolaus Schulz <microschulz@web.de>2008-03-15 18:42:56 +0000
commitc0f0ad33d781def6aaf028ff99f368b87ed0e1f7 (patch)
tree1bad9de354776b14e412f40fde0c6589cc20a148
parent22e23d9d389298df4252816c1c470836e407be25 (diff)
downloadarchivemail-c0f0ad33d781def6aaf028ff99f368b87ed0e1f7.tar.gz
archivemail-c0f0ad33d781def6aaf028ff99f368b87ed0e1f7.tar.bz2
archivemail-c0f0ad33d781def6aaf028ff99f368b87ed0e1f7.zip
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.
-rwxr-xr-xarchivemail.py1
1 files changed, 0 insertions, 1 deletions
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)