Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-08-01 05:05:07 +0300
committerBerker Peksag <berker.peksag@gmail.com>2015-08-01 05:05:52 +0300
commite2a8d303071dc3701436a8a28701e4659ddf5784 (patch)
tree350a6f2f61846f2a1b9c1e992cb5a490aba90a66
parentda0be53c3b87724754375a8f462fc572400aa6f2 (diff)
Fix urlparse import in tools/routing.pystable
urlparse is already a function, so we don't need to specify a module name. Refs #5339
-rw-r--r--mediagoblin/tools/routing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tools/routing.py b/mediagoblin/tools/routing.py
index 8a30bab2..a2c89f2a 100644
--- a/mediagoblin/tools/routing.py
+++ b/mediagoblin/tools/routing.py
@@ -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,