Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas authored and tino097 committed Sep 26, 2017
1 parent d8bb769 commit 2e3108c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -173,7 +173,7 @@ def redirect_to(*args, **kw):
_url = ''
skip_url_parsing = False
if uargs and len(uargs) is 1 and isinstance(uargs[0], basestring) \
and uargs[0].startswith('/') and len(matching) is 0:
and uargs[0].startswith('/') and len(matching) is 0:
skip_url_parsing = True
_url = uargs[0]

Expand Down

0 comments on commit 2e3108c

Please sign in to comment.