diff options
| author | Barry Warsaw | 2016-10-31 18:32:57 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-10-31 18:32:57 -0400 |
| commit | 366dc6517716b7c77c4b7a76559b1b6b5996fc8e (patch) | |
| tree | 1095163853eb167320290f64d5b7d0cad19aabf2 | |
| parent | added3672526d4770c6b9da8883effc46a0a41da (diff) | |
| download | mailman-366dc6517716b7c77c4b7a76559b1b6b5996fc8e.tar.gz mailman-366dc6517716b7c77c4b7a76559b1b6b5996fc8e.tar.zst mailman-366dc6517716b7c77c4b7a76559b1b6b5996fc8e.zip | |
| -rw-r--r-- | src/mailman/docs/NEWS.rst | 2 | ||||
| -rw-r--r-- | src/mailman/runners/digest.py | 2 | ||||
| -rw-r--r-- | src/mailman/runners/tests/test_digest.py | 2 |
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): |
