WIP: Improved python3 compatibility and applied some flake8 fixes.
For python3 compatibility replaced:
- print by print function from future or by python logger to improve python3 compatibility,
To fix flake8 warnings, replaced
- membership test:
not [val] in [dict]
by[val] not in [dict]
, -
==None
byis None
and!=None
bynot is None
.
Edited by Goetz Gaycken