summaryrefslogtreecommitdiff
path: root/src/mailman/runners/digest.py
diff options
context:
space:
mode:
authorAurélien Bompard2016-10-27 10:25:45 +0200
committerBarry Warsaw2016-10-31 17:52:37 -0400
commitadded3672526d4770c6b9da8883effc46a0a41da (patch)
treeb227f873dcf831b8f415f5787510d3c71d048299 /src/mailman/runners/digest.py
parent20bda7007c6c8546ab403d65e8bf9e0bdfe4ad50 (diff)
downloadmailman-added3672526d4770c6b9da8883effc46a0a41da.tar.gz
mailman-added3672526d4770c6b9da8883effc46a0a41da.tar.zst
mailman-added3672526d4770c6b9da8883effc46a0a41da.zip
Diffstat (limited to 'src/mailman/runners/digest.py')
-rw-r--r--src/mailman/runners/digest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/runners/digest.py b/src/mailman/runners/digest.py
index 4173d9673..9b8335024 100644
--- a/src/mailman/runners/digest.py
+++ b/src/mailman/runners/digest.py
@@ -323,8 +323,6 @@ class DigestRunner(Runner):
# Finish up the digests.
mime = mime_digest.finish()
rfc1153 = rfc1153_digest.finish()
- # Remove the digest mbox (GL#259)
- os.remove(msgdata['digest_path'])
# Calculate the recipients lists
mime_recipients = set()
rfc1153_recipients = set()
@@ -372,3 +370,5 @@ class DigestRunner(Runner):
recipients=rfc1153_recipients,
listid=mlist.list_id,
isdigest=True)
+ # Remove the digest mbox (GL#259)
+ os.remove(msgdata['digest_path'])