diff options
author | Ben Bangert <ben@groovie.org> | 2010-02-20 15:50:16 -0500 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2010-02-20 15:50:16 -0500 |
commit | d397ec29303319e71fd4546e7eadcdb2a885ebcf (patch) | |
tree | 95bd473041e7025a34c69bb7c6982b5a107d5961 /routes | |
parent | d1d1742903fa5ca24ef848a6ae895303f2661b2a (diff) | |
download | routes-d397ec29303319e71fd4546e7eadcdb2a885ebcf.tar.gz |
More test coverage
--HG--
branch : trunk
Diffstat (limited to 'routes')
-rw-r--r-- | routes/util.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/routes/util.py b/routes/util.py index fe77c82..601d742 100644 --- a/routes/util.py +++ b/routes/util.py @@ -53,8 +53,6 @@ def _screenargs(kargs, mapper, environ): route_args = environ.get('wsgiorg.routing_args') if route_args: memory_kargs = route_args[1].copy() - else: - memory_kargs = {} # Remove keys from memory and kargs if kargs has them as None for key in [key for key in kargs.keys() if kargs[key] is None]: @@ -134,8 +132,6 @@ def _str_encode(string, encoding): s = string else: s = unicode(string).encode(encoding) - else: - s = str(string) return s |