summaryrefslogtreecommitdiff
path: root/src/mailman/runners/digest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/runners/digest.py')
-rw-r--r--src/mailman/runners/digest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman/runners/digest.py b/src/mailman/runners/digest.py
index c591c10a9..4173d9673 100644
--- a/src/mailman/runners/digest.py
+++ b/src/mailman/runners/digest.py
@@ -17,6 +17,7 @@
"""Digest runner."""
+import os
import re
import logging
@@ -322,6 +323,8 @@ 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()