diff options
Diffstat (limited to 'src/mailman/commands/docs/create.txt')
| -rw-r--r-- | src/mailman/commands/docs/create.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/commands/docs/create.txt b/src/mailman/commands/docs/create.txt index 349714a67..cf1557210 100644 --- a/src/mailman/commands/docs/create.txt +++ b/src/mailman/commands/docs/create.txt @@ -37,7 +37,8 @@ the mailing list and domain will be created. Now both the domain and the mailing list exist in the database. >>> from mailman.interfaces.listmanager import IListManager - >>> list_manager = IListManager(config) + >>> from zope.component import getUtility + >>> list_manager = getUtility(IListManager) >>> list_manager.get('test@example.xx') <mailing list "test@example.xx" at ...> |
