Another patch related to the #1773

This commit is contained in:
Miroslav Stampar
2016-03-23 10:33:32 +01:00
parent 6c2f9859be
commit 5b0d5970cc
4 changed files with 8 additions and 1 deletions

View File

@@ -192,6 +192,9 @@ def main():
logger.error(errMsg)
raise SystemExit
elif "valueStack.pop" in excMsg and kb.get("dumpKeyboardInterrupt"):
raise SystemExit
for match in re.finditer(r'File "(.+?)", line', excMsg):
file_ = match.group(1)
file_ = os.path.relpath(file_, os.path.dirname(__file__))