Remove some flake8 errors/warnings.

This commit is contained in:
mrg
2019-10-02 23:26:02 +00:00
parent b0dcfb5b2d
commit d583695959
10 changed files with 199 additions and 174 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ def info(lev, str):
frm = inspect.stack()[1]
mod = inspect.getmodule(frm[0])
# classname = frm.f_globals['__name__']
if mod.__name__ == None:
if mod.__name__ is None:
class_name = ""
else:
class_name = mod.__name__