summaryrefslogtreecommitdiff
path: root/src/mailman/docs/autorespond.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/docs/autorespond.txt')
-rw-r--r--src/mailman/docs/autorespond.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mailman/docs/autorespond.txt b/src/mailman/docs/autorespond.txt
index 7aac90b1c..02a4e3acd 100644
--- a/src/mailman/docs/autorespond.txt
+++ b/src/mailman/docs/autorespond.txt
@@ -28,8 +28,7 @@ automatic response when messages are held for approval, or when it receives an
email command. You can find out how many responses for a particular address
have already been sent today.
- >>> address = config.db.user_manager.create_address(
- ... u'aperson@example.com')
+ >>> address = config.db.user_manager.create_address('aperson@example.com')
>>> from mailman.interfaces.autorespond import Response
>>> response_set.todays_count(address, Response.hold)
0
@@ -100,9 +99,7 @@ When another response is sent today, that becomes the last one sent.
If there's been no response sent to a particular address, None is returned.
- >>> address = config.db.user_manager.create_address(
- ... u'bperson@example.com')
-
+ >>> address = config.db.user_manager.create_address('bperson@example.com')
>>> response_set.todays_count(address, Response.command)
0
>>> print response_set.last_response(address, Response.command)