diff options
author | Nikolaus Schulz <microschulz@web.de> | 2010-07-17 02:41:05 +0200 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-28 15:28:39 +0200 |
commit | 9ff7774aba20846b171819b8e87c6a4525cff9f6 (patch) | |
tree | 8be105620de09addd34a9e54d348bcb23e1887ea | |
parent | e5ee9b98c1db11ab9d1392976cffcd343c94cb39 (diff) | |
download | archivemail-9ff7774aba20846b171819b8e87c6a4525cff9f6.tar.gz archivemail-9ff7774aba20846b171819b8e87c6a4525cff9f6.tar.bz2 archivemail-9ff7774aba20846b171819b8e87c6a4525cff9f6.zip |
Fix TempMbox.saveas() to unregister the right file from _stale
-rwxr-xr-x | archivemail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archivemail.py b/archivemail.py index cb3292a..ec75f2c 100755 --- a/archivemail.py +++ b/archivemail.py @@ -564,7 +564,7 @@ class TempMbox: """Rename this temporary mbox file to the given name, making it permanent. Emergency use only.""" os.rename(self.mbox_file_name, filename) - _stale.temp_mboxes.remove(retain.mbox_file_name) + _stale.temp_mboxes.remove(self.mbox_file_name) def remove(self): """Delete the temporary mbox file.""" |