Fix urlparse import in tools/routing.py
urlparse is already a function, so we don't need to specify a module name. Refs #5339
This commit is contained in:
parent
d7f35f6fbe
commit
750ddf32b5
@ -80,7 +80,7 @@ def extract_url_arguments(url, urlmap):
|
||||
"""
|
||||
This extracts the URL arguments from a given URL
|
||||
"""
|
||||
parsed_url = urlparse.urlparse(url)
|
||||
parsed_url = urlparse(url)
|
||||
map_adapter = urlmap.bind(
|
||||
server_name=parsed_url.netloc,
|
||||
script_name=parsed_url.path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user