From c9d9f209a26f64bb54ec6e31b9c2d5a8d030b8e0 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 1 Nov 2009 22:52:14 -0500 Subject: Add decorations. s/recips/recipients/ --- src/mailman/queue/docs/command.txt | 2 +- src/mailman/queue/docs/digester.txt | 16 ++++++++-------- src/mailman/queue/docs/incoming.txt | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/mailman/queue/docs') diff --git a/src/mailman/queue/docs/command.txt b/src/mailman/queue/docs/command.txt index 73be64de0..ae5b2612d 100644 --- a/src/mailman/queue/docs/command.txt +++ b/src/mailman/queue/docs/command.txt @@ -60,7 +60,7 @@ And now the response is in the virgin queue. >>> sorted(item.msgdata.items()) [..., ('listname', u'test@example.com'), ..., - ('recips', [u'aperson@example.com']), + ('recipients', [u'aperson@example.com']), ...] diff --git a/src/mailman/queue/docs/digester.txt b/src/mailman/queue/docs/digester.txt index c61f0fe3d..55f93cf40 100644 --- a/src/mailman/queue/docs/digester.txt +++ b/src/mailman/queue/docs/digester.txt @@ -522,12 +522,12 @@ and the other is the RFC 1153 digest. Only wperson and xperson get the MIME digests. - >>> sorted(mime.msgdata['recips']) + >>> sorted(mime.msgdata['recipients']) [u'wperson@example.com', u'xperson@example.com'] Only yperson and zperson get the RFC 1153 digests. - >>> sorted(rfc1153.msgdata['recips']) + >>> sorted(rfc1153.msgdata['recipients']) [u'yperson@example.com', u'zperson@example.com'] Now uperson decides that they would like to start receiving digests too. @@ -541,10 +541,10 @@ Now uperson decides that they would like to start receiving digests too. 2 >>> mime, rfc1153 = mime_rfc1153(messages) - >>> sorted(mime.msgdata['recips']) + >>> sorted(mime.msgdata['recipients']) [u'uperson@example.com', u'wperson@example.com', u'xperson@example.com'] - >>> sorted(rfc1153.msgdata['recips']) + >>> sorted(rfc1153.msgdata['recipients']) [u'yperson@example.com', u'zperson@example.com'] At this point, both uperson and wperson decide that they'd rather receive @@ -566,10 +566,10 @@ as much and does not want to receive one last digest. 2 >>> mime, rfc1153 = mime_rfc1153(messages) - >>> sorted(mime.msgdata['recips']) + >>> sorted(mime.msgdata['recipients']) [u'uperson@example.com', u'xperson@example.com'] - >>> sorted(rfc1153.msgdata['recips']) + >>> sorted(rfc1153.msgdata['recipients']) [u'yperson@example.com', u'zperson@example.com'] Since uperson has received their last digest, they will not get any more of @@ -583,8 +583,8 @@ them. 2 >>> mime, rfc1153 = mime_rfc1153(messages) - >>> sorted(mime.msgdata['recips']) + >>> sorted(mime.msgdata['recipients']) [u'xperson@example.com'] - >>> sorted(rfc1153.msgdata['recips']) + >>> sorted(rfc1153.msgdata['recipients']) [u'yperson@example.com', u'zperson@example.com'] diff --git a/src/mailman/queue/docs/incoming.txt b/src/mailman/queue/docs/incoming.txt index 8635f2872..74326820f 100644 --- a/src/mailman/queue/docs/incoming.txt +++ b/src/mailman/queue/docs/incoming.txt @@ -195,7 +195,7 @@ tests above. >>> dump_msgdata(item.msgdata) _parsemsg : False ... - recips : [u'aperson@example.com'] + recipients : [u'aperson@example.com'] ... >>> fp.seek(file_pos) -- cgit v1.3.1