diff options
author | bbangert <none@none> | 2006-09-02 17:24:54 -0700 |
---|---|---|
committer | bbangert <none@none> | 2006-09-02 17:24:54 -0700 |
commit | 892bb7149113b822705b8b36221931c8711626e7 (patch) | |
tree | eda11bf8b0efd7c8ad593fdc1c67ed10a539261a | |
parent | dad4f9e96f0e9f3d8e049825589b3f963c230c76 (diff) | |
download | routes-892bb7149113b822705b8b36221931c8711626e7.tar.gz |
[svn] Fixed prior commit that included additional code that wasn't supposed to be committed.
--HG--
branch : trunk
-rw-r--r-- | routes/util.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/routes/util.py b/routes/util.py index 8b9c42c..8d6b9ea 100644 --- a/routes/util.py +++ b/routes/util.py @@ -88,15 +88,7 @@ def url_for(*args, **kargs): if route and route.defaults.has_key('_static'): static = True - newargs = route.defaults.copy() - host = newargs.pop('host', '') - protocol = newargs.pop('protocol', '') - del newargs['_static'] - newargs.update(kargs) - url = route.generate(_ignore_req_list=True, **newargs) - if not url: url = '' - kargs = None - #url = route.routepath + url = route.routepath # No named route found, assume the argument is a relative path if not route: |