diff options
Diffstat (limited to 'mailman/commands')
| -rw-r--r-- | mailman/commands/docs/echo.txt | 1 | ||||
| -rw-r--r-- | mailman/commands/docs/end.txt | 1 | ||||
| -rw-r--r-- | mailman/commands/docs/join.txt | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/mailman/commands/docs/echo.txt b/mailman/commands/docs/echo.txt index d2781d330..181cc58c8 100644 --- a/mailman/commands/docs/echo.txt +++ b/mailman/commands/docs/echo.txt @@ -4,7 +4,6 @@ The 'echo' command The mail command 'echo' simply replies with the original command and arguments to the sender. - >>> from mailman.configuration import config >>> command = config.commands['echo'] >>> command.name 'echo' diff --git a/mailman/commands/docs/end.txt b/mailman/commands/docs/end.txt index bd632de48..4f6af26cb 100644 --- a/mailman/commands/docs/end.txt +++ b/mailman/commands/docs/end.txt @@ -4,7 +4,6 @@ The 'end' command The mail command processor recognized an 'end' command which tells it to stop processing email messages. - >>> from mailman.configuration import config >>> command = config.commands['end'] >>> command.name 'end' diff --git a/mailman/commands/docs/join.txt b/mailman/commands/docs/join.txt index 492297787..fd382d0f0 100644 --- a/mailman/commands/docs/join.txt +++ b/mailman/commands/docs/join.txt @@ -4,7 +4,6 @@ The 'join' command The mail command 'join' subscribes an email address to the mailing list. 'subscribe' is an alias for 'join'. - >>> from mailman.configuration import config >>> command = config.commands['join'] >>> print command.name join @@ -84,8 +83,7 @@ first. Mailman has sent her the confirmation message. - >>> from mailman.queue import Switchboard - >>> virginq = Switchboard(config.VIRGINQUEUE_DIR) + >>> virginq = config.switchboards['virgin'] >>> qmsg, qdata = virginq.dequeue(virginq.files[0]) >>> print qmsg.as_string() MIME-Version: 1.0 |
