From 4c923db7ea60ab05fb0d2a77e99064dd651f9ce9 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 17 Aug 2006 12:02:29 -0400 Subject: [PATCH] Add traceback support to the session too --- shell/session/Session.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/session/Session.py b/shell/session/Session.py index 92f10b65..9b09a982 100644 --- a/shell/session/Session.py +++ b/shell/session/Session.py @@ -71,7 +71,10 @@ class Session: shell.set_console(console) shell.start() + from sugar import TracebackUtils + tbh = TracebackUtils.TracebackHelper() try: gtk.main() except KeyboardInterrupt: print 'Ctrl+C pressed, exiting...' + del tbh