mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-03-11 23:32:48 +00:00
Fix TempMbox.saveas() to unregister the right file from _stale
This commit is contained in:
parent
e5ee9b98c1
commit
9ff7774aba
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Reference in a new issue