summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/rest/wsgiapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/rest/wsgiapp.py b/src/mailman/rest/wsgiapp.py
index 82f2a3a8f..698c4269d 100644
--- a/src/mailman/rest/wsgiapp.py
+++ b/src/mailman/rest/wsgiapp.py
@@ -31,6 +31,7 @@ import logging
from falcon import API
from falcon.responders import path_not_found
+from falcon.routing import create_http_method_map
from mailman.config import config
from mailman.database.transaction import transactional
from mailman.rest.root import Root
@@ -131,7 +132,7 @@ class RootedAPI(API):
if len(path_segments) == 0:
# We're at the end of the path, so the root must be the
# responder.
- method_map = self._create_http_method_map(
+ method_map = create_http_method_map(
resource, None, None, None)
responder = method_map[method]
return responder, {}, resource