summaryrefslogtreecommitdiff
path: root/src/mailman/rest/wsgiapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/wsgiapp.py')
-rw-r--r--src/mailman/rest/wsgiapp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/rest/wsgiapp.py b/src/mailman/rest/wsgiapp.py
index d95926cfd..82f2a3a8f 100644
--- a/src/mailman/rest/wsgiapp.py
+++ b/src/mailman/rest/wsgiapp.py
@@ -30,7 +30,6 @@ import re
import logging
from falcon import API
-from falcon.api_helpers import create_http_method_map
from falcon.responders import path_not_found
from mailman.config import config
from mailman.database.transaction import transactional
@@ -132,7 +131,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 = create_http_method_map(
+ method_map = self._create_http_method_map(
resource, None, None, None)
responder = method_map[method]
return responder, {}, resource