diff options
| author | Barry Warsaw | 2014-11-02 14:54:20 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-02 14:54:20 -0500 |
| commit | 0b1ee6fc8d224291c68c964a1af6b481921a13b3 (patch) | |
| tree | b0b04c8d9887c9caeb16dd1e0e8522c0dcd735b3 | |
| parent | 1e3d3ac6bb288f496c00054080d6cc9823149cfc (diff) | |
| download | mailman-0b1ee6fc8d224291c68c964a1af6b481921a13b3.tar.gz mailman-0b1ee6fc8d224291c68c964a1af6b481921a13b3.tar.zst mailman-0b1ee6fc8d224291c68c964a1af6b481921a13b3.zip | |
| -rw-r--r-- | src/mailman/rest/wsgiapp.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mailman/rest/wsgiapp.py b/src/mailman/rest/wsgiapp.py index 98239ec51..d95926cfd 100644 --- a/src/mailman/rest/wsgiapp.py +++ b/src/mailman/rest/wsgiapp.py @@ -71,11 +71,6 @@ class RootedAPI(API): # Since the path is always rooted at /, skip the first segment, which # will always be the empty string. path_segments.pop(0) - 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(self._root, None, None, None) - responder = method_map[method] - return responder, {}, self._root this_segment = path_segments.pop(0) resource = self._root while True: |
