mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-01-02 21:24:40 +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
|
"""Rename this temporary mbox file to the given name, making it
|
||||||
permanent. Emergency use only."""
|
permanent. Emergency use only."""
|
||||||
os.rename(self.mbox_file_name, filename)
|
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):
|
def remove(self):
|
||||||
"""Delete the temporary mbox file."""
|
"""Delete the temporary mbox file."""
|
||||||
|
|
Loading…
Reference in a new issue