aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xarchivemail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archivemail.py b/archivemail.py
index 6658746..4adf6b1 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -398,11 +398,11 @@ class LockableMboxMixin:
raise LockUnavailable("Dotlock for '%s' unavailable" % self.mbox_file_name)
else:
raise
+ _stale.dotlock_files.append(lock_name)
finally:
os.close(plfd)
os.unlink(prelock_name)
vprint("acquired lockfile '%s'" % lock_name)
- _stale.dotlock_files.append(lock_name)
def _dotlock_unlock(self):
"""Delete the dotlock file for the 'mbox' mailbox."""