Commit 5ef7f23b authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent 1931d3b9
...@@ -75,9 +75,9 @@ class CompilerCrash(CompileError): ...@@ -75,9 +75,9 @@ class CompilerCrash(CompileError):
if context: if context:
message = "Compiler crash in " + context + message message = "Compiler crash in " + context + message
if stacktrace: if stacktrace:
import traceback, sys import traceback
message += ( message += (
u'\n\nCompiler crash traceback up to this point:\n' + u'\n\nCompiler crash traceback from this point on:\n' +
u''.join(traceback.format_tb(stacktrace))) u''.join(traceback.format_tb(stacktrace)))
if cause: if cause:
if not stacktrace: if not stacktrace:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment