From 91f61ad8b131fe9fe2fe1318c87811942e5769b4 Mon Sep 17 00:00:00 2001 From: nir0s Date: Sat, 17 Feb 2018 21:08:31 +0200 Subject: [PATCH] Fix py3flake8 problems --- logzio/handler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/logzio/handler.py b/logzio/handler.py index aa48c3d..297df5b 100644 --- a/logzio/handler.py +++ b/logzio/handler.py @@ -39,8 +39,9 @@ class LogzioHandler(logging.Handler): 'processName', 'relativeCreated', 'thread', 'threadName') if sys.version_info < (3, 0): - var_type = (basestring, bool, dict, float, - int, long, list, type(None)) + # long and basestring don't exist in py3 so, NOQA + var_type = (basestring, bool, dict, float, # NOQA + int, long, list, type(None)) # NOQA else: var_type = (str, bool, dict, float, int, list, type(None))