summaryrefslogtreecommitdiff
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw2002-01-26 23:25:15 +0000
committerbwarsaw2002-01-26 23:25:15 +0000
commit70b9d49c66ee15352ac97708ed33899b755c1aa6 (patch)
treedeadc0bdbebd284a64064b40b3bd30a51b029e5d /Mailman
parent4ba61326daedb8efbb0fbe141ce47ee99d31a891 (diff)
downloadmailman-70b9d49c66ee15352ac97708ed33899b755c1aa6.tar.gz
mailman-70b9d49c66ee15352ac97708ed33899b755c1aa6.tar.zst
mailman-70b9d49c66ee15352ac97708ed33899b755c1aa6.zip
_dispose(): The mlist.Save() call should be in the try: block, since
not making it to the end of the try ought to be morally equivalent to an aborted transaction.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Queue/IncomingRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/IncomingRunner.py b/Mailman/Queue/IncomingRunner.py
index ee1938784..0abf058c0 100644
--- a/Mailman/Queue/IncomingRunner.py
+++ b/Mailman/Queue/IncomingRunner.py
@@ -113,9 +113,9 @@ class IncomingRunner(Runner):
status = self._dopipeline(mlist, msg, msgdata, pipeline)
if status:
msgdata['pipeline'] = pipeline
+ mlist.Save()
return status
finally:
- mlist.Save()
mlist.Unlock()
# Overridable