Fix tuple unpacking issue
This commit is contained in:
parent
06a5bfb0de
commit
541ff3726e
|
@ -82,8 +82,9 @@ def _caller():
|
|||
file, line, func, text = traceback.extract_stack(limit=3)[0]
|
||||
return os.path.splitext(os.path.basename(file))[0], line, func
|
||||
|
||||
def _log(level, module, line, func, msg):
|
||||
def _log(level, module_line_func, msg):
|
||||
"""internal function to do the logging"""
|
||||
module, line, func = module_line_func
|
||||
if getLevel(module) >= level:
|
||||
message = "%s.%s: %s" % (module, Level.toString(level), msg)
|
||||
if _useConsole:
|
||||
|
|
Loading…
Reference in New Issue
Block a user