diff options
| author | Barry Warsaw | 2009-08-21 18:07:35 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-08-21 18:07:35 -0400 |
| commit | d1718e1a1cc289344d2a68c7430c492a4a7966b6 (patch) | |
| tree | d6b404e8544c83de5a3516a8206c7da92d9d088f /src/mailman/rest/webservice.py | |
| parent | da566eb047608ed2e65c71dd25979f01c825c843 (diff) | |
| download | mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.tar.gz mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.tar.zst mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.zip | |
Diffstat (limited to 'src/mailman/rest/webservice.py')
| -rw-r--r-- | src/mailman/rest/webservice.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/rest/webservice.py b/src/mailman/rest/webservice.py index e1b5502d7..2d82c22a8 100644 --- a/src/mailman/rest/webservice.py +++ b/src/mailman/rest/webservice.py @@ -41,6 +41,7 @@ from zope.publisher.publish import publish from mailman.config import config from mailman.core.system import system from mailman.interfaces.domain import IDomainCollection, IDomainManager +from mailman.interfaces.listmanager import IListManager from mailman.interfaces.rest import IResolvePathNames from mailman.rest.publication import AdminWebServicePublication @@ -79,7 +80,7 @@ class AdminWebServiceApplication: top_level = dict( system=system, domains=IDomainCollection(IDomainManager(config)), - lists=config.db.list_manager, + lists=IListManager(config), ) next_step = top_level.get(name) log.debug('Top level name: %s -> %s', name, next_step) |
