parent
3a9a915d6d
commit
c1dd1c1430
|
@ -51,7 +51,8 @@ class ConsoleExec(method.Method):
|
||||||
output = code_out.getvalue()
|
output = code_out.getvalue()
|
||||||
code_out.close()
|
code_out.close()
|
||||||
code_err.close()
|
code_err.close()
|
||||||
except (SyntaxError, OverflowError, ValueError), e:
|
#except (SyntaxError, OverflowError, ValueError), e:
|
||||||
|
except Exception, e:
|
||||||
a.set_mini_buffer_prompt('>>> ')
|
a.set_mini_buffer_prompt('>>> ')
|
||||||
t = sys.exc_traceback
|
t = sys.exc_traceback
|
||||||
output = str(e) + traceback.format_exc()
|
output = str(e) + traceback.format_exc()
|
||||||
|
|
Loading…
Reference in New Issue