From 94d9fa0e035b227aca85edeb39e2e526b4cc9cf6 Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Fri, 11 Aug 2017 10:34:31 +0300 Subject: [PATCH] pep8 --- ckan/lib/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/lib/helpers.py b/ckan/lib/helpers.py index 231c8c206c0..bca42c0feca 100644 --- a/ckan/lib/helpers.py +++ b/ckan/lib/helpers.py @@ -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]