From 725ebe36e2548c5da711087640bd423181411241 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 12 Dec 2009 17:03:30 -0500 Subject: 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. --- src/mailman/queue/docs/command.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mailman/queue/docs') 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 -- cgit v1.3.1