From dbaa18beee35db3fe66adad6af0a9a4a5a69ad27 Mon Sep 17 00:00:00 2001 From: Noah Morrison Date: Wed, 3 Oct 2018 10:19:59 -0400 Subject: [PATCH] Fix flake8 not realizing this line is python2 --- chevron/renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) # -- 2.47.3