summaryrefslogtreecommitdiff
path: root/src/mailman/rest/webservice.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-08-21 18:07:35 -0400
committerBarry Warsaw2009-08-21 18:07:35 -0400
commitd1718e1a1cc289344d2a68c7430c492a4a7966b6 (patch)
treed6b404e8544c83de5a3516a8206c7da92d9d088f /src/mailman/rest/webservice.py
parentda566eb047608ed2e65c71dd25979f01c825c843 (diff)
downloadmailman-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.py3
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)