summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-10-24 06:38:03 +0000
committerbwarsaw2001-10-24 06:38:03 +0000
commit26178ae8968d7f725c7ce24afc2c6a403227040f (patch)
tree0947f626a43664e9bba70b0149f8cae0fcd7bebf
parented7ad797576b5b021f04491ad1a064c662406104 (diff)
downloadmailman-26178ae8968d7f725c7ce24afc2c6a403227040f.tar.gz
mailman-26178ae8968d7f725c7ce24afc2c6a403227040f.tar.zst
mailman-26178ae8968d7f725c7ce24afc2c6a403227040f.zip
_dispose(): Move the Save() call into the try (exceptions are morally
equivalent to transaction aborts).
-rw-r--r--Mailman/Queue/ArchRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/ArchRunner.py b/Mailman/Queue/ArchRunner.py
index bc4c67f44..95dc42724 100644
--- a/Mailman/Queue/ArchRunner.py
+++ b/Mailman/Queue/ArchRunner.py
@@ -68,7 +68,7 @@ class ArchRunner(Runner):
# runner specific code
try:
mlist.ArchiveMail(msg)
- finally:
mlist.Save()
+ finally:
mlist.Unlock()
return 0