Improved characterizer.

This commit is contained in:
Matt Guthaus
2017-07-06 08:42:25 -07:00
parent e92cb9ecef
commit 20d8c0bc45
40 changed files with 1511 additions and 1626 deletions
+1 -1
View File
@@ -34,6 +34,6 @@ def info(lev, str):
if (OPTS.debug_level >= lev):
frm = inspect.stack()[1]
mod = inspect.getmodule(frm[0])
print("\n[{0}]: {1}".format(frm[0].f_code.co_name,str))
print("[{0}]: {1}".format(frm[0].f_code.co_name,str))
# This sometimes gets a NoneType mod...
# print "[" , mod.__name__ , "]: ", str