remove old extra dispatch method

This commit is contained in:
Steve Pulec 2013-03-23 10:00:43 -04:00
parent e55f26a07a
commit 2b63c79c90
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

@ -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,
}