summaryrefslogtreecommitdiff
path: root/src/mailman/runners/digest.py
diff options
context:
space:
mode:
authorMark Sapiro2012-04-11 15:24:10 -0700
committerMark Sapiro2012-04-11 15:24:10 -0700
commite337e914137e89ce8c58a8e66ae21d0591727d3b (patch)
tree5295347c0c9df037006a5421f77fcb7e213e5379 /src/mailman/runners/digest.py
parent7abcd4faa1553fb012020b6204fb8b6208fa5bf2 (diff)
downloadmailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.tar.gz
mailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.tar.zst
mailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.zip
Diffstat (limited to 'src/mailman/runners/digest.py')
-rw-r--r--src/mailman/runners/digest.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mailman/runners/digest.py b/src/mailman/runners/digest.py
index afc11f732..c347667f8 100644
--- a/src/mailman/runners/digest.py
+++ b/src/mailman/runners/digest.py
@@ -284,16 +284,17 @@ class RFC1153Digester(Digester):
self._mlist.fqdn_listname,
self._mlist.digest_footer_uri))
footer_text = ''
- # This is not strictly conformant RFC 1153. The trailer is only
- # supposed to contain two lines, i.e. the "End of ... Digest" line
- # and the row of asterisks. If this screws up MUAs, the solution
- # is to add the footer as the last message in the RFC 1153 digest.
- # I just hate the way that VM does that and I think it's confusing
- # to users, so don't do it unless there's a clamor.
+ # MAS: There is no real place for the digest_footer in an RFC 1153
+ # compliant digest, so add it as an additional message with
+ # Subject: Digest Footer
print >> self._text, self._separator30
print >> self._text
+ print >> self._text, 'Subject: ' + _('Digest Footer')
+ print >> self._text
print >> self._text, footer_text
print >> self._text
+ print >> self._text, self._separator30
+ print >> self._text
# Add the sign-off.
sign_off = _('End of ') + self._digest_id
print >> self._text, sign_off