summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/docs/NEWS.rst2
-rw-r--r--src/mailman/runners/digest.py2
-rw-r--r--src/mailman/runners/tests/test_digest.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index 926bb19aa..f72498a1d 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -95,6 +95,8 @@ Bugs
edit to work. (Closes: #290)
* Prevent posting from banned addresses. Given by Aurélien Bompard.
(Closes: #283)
+ * Remove the digest mbox files after the digests are sent. Given by Aurélien
+ Bompard. (Closes: #259)
Configuration
-------------
diff --git a/src/mailman/runners/digest.py b/src/mailman/runners/digest.py
index 9b8335024..4971965fa 100644
--- a/src/mailman/runners/digest.py
+++ b/src/mailman/runners/digest.py
@@ -370,5 +370,5 @@ class DigestRunner(Runner):
recipients=rfc1153_recipients,
listid=mlist.list_id,
isdigest=True)
- # Remove the digest mbox (GL#259)
+ # Remove the digest mbox. (GL #259)
os.remove(msgdata['digest_path'])
diff --git a/src/mailman/runners/tests/test_digest.py b/src/mailman/runners/tests/test_digest.py
index 1565af262..5246ef670 100644
--- a/src/mailman/runners/tests/test_digest.py
+++ b/src/mailman/runners/tests/test_digest.py
@@ -76,7 +76,7 @@ class TestDigest(unittest.TestCase):
make_digest_messages(self._mlist)
self._check_virgin_queue()
# The digest mbox and all intermediary mboxes must have been removed
- # (GL#259).
+ # (GL #259).
self.assertEqual(os.listdir(self._mlist.data_path), [])
def test_non_ascii_message(self):