Closed zcutlip closed 5 years ago
Fix several instances of string type checking, by replacing type() with isintance(obj, string_types)
type()
isintance(obj, string_types)
String type checking was failing when called from code that uses future-compatible string classes
Also fix a couple small, but potentially critical bugs the linter caught:
ConfigFile
env.py
ConfigNode.__le__()
Fix several instances of string type checking, by replacing
type()
withisintance(obj, string_types)
String type checking was failing when called from code that uses future-compatible string classes
Also fix a couple small, but potentially critical bugs the linter caught:
ConfigFile
used but not imported inenv.py
ConfigNode.__le__()
defined twice