summaryrefslogtreecommitdiff
path: root/src/mailman/queue/docs
diff options
context:
space:
mode:
authorBarry Warsaw2009-12-08 00:36:10 -0500
committerBarry Warsaw2009-12-08 00:36:10 -0500
commit24f92b6c842bfa3701cb708e4aee3c991f206c9d (patch)
tree3ff4eb8a89af42f218c6f0a065e4a5b5b27b1f5e /src/mailman/queue/docs
parent6d84ef35f707646501f6fec254e153dbdf719cdb (diff)
downloadmailman-24f92b6c842bfa3701cb708e4aee3c991f206c9d.tar.gz
mailman-24f92b6c842bfa3701cb708e4aee3c991f206c9d.tar.zst
mailman-24f92b6c842bfa3701cb708e4aee3c991f206c9d.zip
Fix some test failures:
* when postfix is not installed * because the Subject values are instances, not strings
Diffstat (limited to 'src/mailman/queue/docs')
-rw-r--r--src/mailman/queue/docs/command.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/queue/docs/command.txt b/src/mailman/queue/docs/command.txt
index 19c01dcae..445bf2ab6 100644
--- a/src/mailman/queue/docs/command.txt
+++ b/src/mailman/queue/docs/command.txt
@@ -132,7 +132,7 @@ address, and the other is the results of his email command.
2
>>> def sortkey(item):
- ... return item.msg['subject']
+ ... return str(item.msg['subject'])
>>> messages = sorted(get_queue_messages('virgin'), key=sortkey)
>>> from mailman.interfaces.domain import IDomainManager
@@ -145,8 +145,8 @@ address, and the other is the results of his email command.
... token = str(subject).split()[1].strip()
... status = registrar.confirm(token)
... assert status, 'Confirmation failed'
- Subject: confirm ...
Subject: The results of your email commands
+ Subject: confirm ...
Similarly, to leave a mailing list, the user need only email the -leave or
-unsubscribe address (the latter is deprecated).