From 541ff3726e53e5de1d07b1fd7caa4f839edd6342 Mon Sep 17 00:00:00 2001 From: Kurt Kremitzki Date: Sun, 29 Jan 2017 23:05:13 -0600 Subject: [PATCH] Fix tuple unpacking issue --- src/Mod/Path/PathScripts/PathLog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathLog.py b/src/Mod/Path/PathScripts/PathLog.py index be8700d00..0ef3ced7b 100644 --- a/src/Mod/Path/PathScripts/PathLog.py +++ b/src/Mod/Path/PathScripts/PathLog.py @@ -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: