projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7f35f6
)
Fix urlparse import in tools/routing.py
author
Berker Peksag
<berker.peksag@gmail.com>
Sat, 1 Aug 2015 02:05:07 +0000
(
05:05
+0300)
committer
Berker Peksag
<berker.peksag@gmail.com>
Sat, 1 Aug 2015 02:05:07 +0000
(
05:05
+0300)
urlparse is already a function, so we don't need to specify
a module name.
Refs #5339
mediagoblin/tools/routing.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/tools/routing.py
b/mediagoblin/tools/routing.py
index 8a30bab207c4a583185deaeb2dbce7ea54c58b48..a2c89f2ac845764330eaf3b10f24ddd2b6bd8ce9 100644
(file)
--- 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,