|
@ -39,8 +39,9 @@ class LogzioHandler(logging.Handler): |
|
|
'processName', 'relativeCreated', 'thread', 'threadName') |
|
|
'processName', 'relativeCreated', 'thread', 'threadName') |
|
|
|
|
|
|
|
|
if sys.version_info < (3, 0): |
|
|
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: |
|
|
else: |
|
|
var_type = (str, bool, dict, float, int, list, type(None)) |
|
|
var_type = (str, bool, dict, float, int, list, type(None)) |
|
|
|
|
|
|
|
|