branch : pmacs2
This commit is contained in:
moculus 2009-03-10 14:35:49 +00:00
parent 3a9a915d6d
commit c1dd1c1430
1 changed files with 2 additions and 1 deletions

View File

@ -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()