Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Aug 11, 2017
1 parent 008a1f5 commit 94d9fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -175,7 +175,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 94d9fa0

Please sign in to comment.