diff options
author | Nikolaus Schulz <microschulz@web.de> | 2008-03-15 18:42:56 +0000 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2008-03-15 18:42:56 +0000 |
commit | c0f0ad33d781def6aaf028ff99f368b87ed0e1f7 (patch) | |
tree | 1bad9de354776b14e412f40fde0c6589cc20a148 | |
parent | 22e23d9d389298df4252816c1c470836e407be25 (diff) | |
download | archivemail-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-x | archivemail.py | 1 |
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) |