remove old extra dispatch method
This commit is contained in:
parent
e55f26a07a
commit
2b63c79c90
@ -7,9 +7,6 @@ from moto.core.utils import headers_to_dict, camelcase_to_underscores, method_na
|
||||
|
||||
|
||||
class BaseResponse(object):
|
||||
def dispatch2(self, uri, method, body, headers):
|
||||
return self.dispatch(uri, method, body, headers)
|
||||
|
||||
def dispatch(self, uri, method, body, headers):
|
||||
if body:
|
||||
querystring = parse_qs(body)
|
||||
|
@ -5,6 +5,6 @@ url_bases = [
|
||||
]
|
||||
|
||||
url_paths = {
|
||||
'{0}/$': QueuesResponse().dispatch2,
|
||||
'{0}/$': QueuesResponse().dispatch,
|
||||
'{0}/(?P<account_id>\d+)/(?P<queue_name>[a-zA-Z0-9\-_]+)': QueueResponse().dispatch,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user