From: Noah Morrison Date: Wed, 3 Oct 2018 14:19:59 +0000 (-0400) Subject: Fix flake8 not realizing this line is python2 X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=dbaa18beee35db3fe66adad6af0a9a4a5a69ad27;p=chevron.git Fix flake8 not realizing this line is python2 --- diff --git a/chevron/renderer.py b/chevron/renderer.py index 075eec6..788e2bb 100644 --- a/chevron/renderer.py +++ b/chevron/renderer.py @@ -24,7 +24,7 @@ if sys.version_info[0] == 3: else: # python 2 python3 = False unicode_type = unicode - string_type = basestring + string_type = basestring # noqa: F821 (This is defined in python2) #