diff options
| author | Barry Warsaw | 2009-12-12 17:03:30 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-12-12 17:03:30 -0500 |
| commit | 725ebe36e2548c5da711087640bd423181411241 (patch) | |
| tree | 8aae553f5b05d3889511dcbce8dd92f3fa7c469e /src/mailman/queue/docs | |
| parent | 3c4c8f9c383b6e92e0a9a970079b296a4ac30e88 (diff) | |
| download | mailman-725ebe36e2548c5da711087640bd423181411241.tar.gz mailman-725ebe36e2548c5da711087640bd423181411241.tar.zst mailman-725ebe36e2548c5da711087640bd423181411241.zip | |
IRegistrar is now a utility; it doesn't need to be adapted from an IDomain.
This is because registration confirmation messages must come from the mailing
list that the subscription request came from.
Remove IDomain.confirm_address() since this lives only on the IMailingList now.
Diffstat (limited to 'src/mailman/queue/docs')
| -rw-r--r-- | src/mailman/queue/docs/command.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/queue/docs/command.txt b/src/mailman/queue/docs/command.txt index c63c323b4..4ffb0323c 100644 --- a/src/mailman/queue/docs/command.txt +++ b/src/mailman/queue/docs/command.txt @@ -135,10 +135,9 @@ address, and the other is the results of his email command. ... return str(item.msg['subject']) >>> messages = sorted(get_queue_messages('virgin'), key=sortkey) - >>> from mailman.interfaces.domain import IDomainManager >>> from mailman.interfaces.registrar import IRegistrar >>> from zope.component import getUtility - >>> registrar = IRegistrar(getUtility(IDomainManager)['example.com']) + >>> registrar = getUtility(IRegistrar) >>> for item in messages: ... subject = item.msg['subject'] ... print 'Subject:', subject |
