aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG2
-rwxr-xr-xarchivemail.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index b2915fc..ca60e6b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -22,6 +22,8 @@ Version 0.7.1 - UNRELEASED
* Expand tilde in argument of long option --pwfile. (Thanks Christian
Brabandt) Closes: Debian bug #434813
* archivemail now accepts --days=0
+ * Fixed crash if --warn-duplicate is used with IMAP (Thanks Christian
+ Brabandt) Closes: Debian bug #434786 (the Debian package already has a fix)
Version 0.7.0 - 2 November 2006
* Fixed long options --filter-append and --pwfile to accept their arguments.
diff --git a/archivemail.py b/archivemail.py
index 29fbdf2..c8bafbb 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -1331,6 +1331,7 @@ def _archive_imap(mailbox_name, final_archive_name):
archive = None
stats = Stats(mailbox_name, final_archive_name)
+ cache = IdentityCache(mailbox_name)
imap_str = mailbox_name[mailbox_name.find('://') + 3:]
imap_filter = build_imap_filter()
vprint("imap filter: '%s'" % imap_filter)