diff options
| author | Barry Warsaw | 2009-12-08 22:39:10 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-12-08 22:39:10 -0500 |
| commit | 3d65590999f5288307ecb0df6ae1b77241869f61 (patch) | |
| tree | 7047453b1ddfbc6d5715834553f46e3362d3e1da /src/mailman/queue/docs | |
| parent | 24f92b6c842bfa3701cb708e4aee3c991f206c9d (diff) | |
| download | mailman-3d65590999f5288307ecb0df6ae1b77241869f61.tar.gz mailman-3d65590999f5288307ecb0df6ae1b77241869f61.tar.zst mailman-3d65590999f5288307ecb0df6ae1b77241869f61.zip | |
* Make IDomainManager a utility, since the config object is global.
* Give IMailingList a .domain attribute which looks up the IDomain for its
.host_name. This cleans up a lot of code.
* Add a test for the 'confirm' email command.
* Suppress blank lines in email command responses.
* Make the IDomainCollection a utility.
Diffstat (limited to 'src/mailman/queue/docs')
| -rw-r--r-- | src/mailman/queue/docs/command.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/queue/docs/command.txt b/src/mailman/queue/docs/command.txt index 445bf2ab6..c63c323b4 100644 --- a/src/mailman/queue/docs/command.txt +++ b/src/mailman/queue/docs/command.txt @@ -137,7 +137,8 @@ address, and the other is the results of his email command. >>> from mailman.interfaces.domain import IDomainManager >>> from mailman.interfaces.registrar import IRegistrar - >>> registrar = IRegistrar(IDomainManager(config)['example.com']) + >>> from zope.component import getUtility + >>> registrar = IRegistrar(getUtility(IDomainManager)['example.com']) >>> for item in messages: ... subject = item.msg['subject'] ... print 'Subject:', subject @@ -210,7 +211,7 @@ The -confirm address is also available as an implicit command. Message-ID: ... <BLANKLINE> - Results: - Confirmed + Confirmation token did not match <BLANKLINE> - Done. <BLANKLINE> |
