summaryrefslogtreecommitdiff
path: root/src/mailman/runners/docs/digester.rst
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/docs/digester.rst
parent7abcd4faa1553fb012020b6204fb8b6208fa5bf2 (diff)
downloadmailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.tar.gz
mailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.tar.zst
mailman-e337e914137e89ce8c58a8e66ae21d0591727d3b.zip
Fixed the RFC 1153 digest footer to be compliant.
Diffstat (limited to 'src/mailman/runners/docs/digester.rst')
-rw-r--r--src/mailman/runners/docs/digester.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mailman/runners/docs/digester.rst b/src/mailman/runners/docs/digester.rst
index 1ca51bdae..42004bf06 100644
--- a/src/mailman/runners/docs/digester.rst
+++ b/src/mailman/runners/docs/digester.rst
@@ -265,12 +265,16 @@ The RFC 1153 contains the digest in a single plain text message.
<BLANKLINE>
------------------------------
<BLANKLINE>
+ Subject: Digest Footer
+ <BLANKLINE>
_______________________________________________
Test mailing list
test@example.com
http://lists.example.com/listinfo/test@example.com
<BLANKLINE>
<BLANKLINE>
+ ------------------------------
+ <BLANKLINE>
End of Test Digest, Vol 1, Issue 1
**********************************
<BLANKLINE>
@@ -425,8 +429,9 @@ The content can be decoded to see the actual digest text.
# We must display the repr of the decoded value because doctests cannot
# handle the non-ascii characters.
- >>> [repr(line)
- ... for line in rfc1153.msg.get_payload(decode=True).splitlines()]
+ >>> import pprint
+ >>> print pprint.pformat([repr(line)
+ ... for line in rfc1153.msg.get_payload(decode=True).splitlines()])
["'Envoyez vos messages pour la liste Test \\xc3\\xa0'",
"'\\ttest@example.com'",
"''",
@@ -459,12 +464,16 @@ The content can be decoded to see the actual digest text.
"''",
"'------------------------------'",
"''",
+ "'Subject: Pied de page des remises group\\xc3\\xa9es'",
+ "''",
"'_______________________________________________'",
"'Test mailing list'",
"'test@example.com'",
"'http://lists.example.com/listinfo/test@example.com'",
"''",
"''",
+ "'------------------------------'",
+ "''",
"'Fin de Groupe Test, Vol 1, Parution 2'",
"'*************************************'"]