summaryrefslogtreecommitdiff
path: root/src/mailman/rest/webservice.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-08-26 02:27:37 -0400
committerBarry Warsaw2009-08-26 02:27:37 -0400
commit9ad8c1e5524bc9479fd356757016ec160f392dd7 (patch)
tree2e8f5aab9ed6d9c52f03ae355dbed080602ee5b1 /src/mailman/rest/webservice.py
parent0ce2f82735911c738349b1812c86e09355ecee60 (diff)
downloadmailman-9ad8c1e5524bc9479fd356757016ec160f392dd7.tar.gz
mailman-9ad8c1e5524bc9479fd356757016ec160f392dd7.tar.zst
mailman-9ad8c1e5524bc9479fd356757016ec160f392dd7.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 2d82c22a8..314636a48 100644
--- a/src/mailman/rest/webservice.py
+++ b/src/mailman/rest/webservice.py
@@ -35,6 +35,7 @@ import logging
from wsgiref.simple_server import WSGIServer, WSGIRequestHandler
from lazr.restful.simple import Request
+from zope.component import getUtility
from zope.interface import implements
from zope.publisher.publish import publish
@@ -80,7 +81,7 @@ class AdminWebServiceApplication:
top_level = dict(
system=system,
domains=IDomainCollection(IDomainManager(config)),
- lists=IListManager(config),
+ lists=getUtility(IListManager),
)
next_step = top_level.get(name)
log.debug('Top level name: %s -> %s', name, next_step)