Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-08-17 16:02:29 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-08-17 16:02:29 (GMT)
commit4c923db7ea60ab05fb0d2a77e99064dd651f9ce9 (patch)
tree3dc54d0c956ccf1e6c00b7cc958ee6a3581db601 /shell
parent01bc6cc71dca04a7b69cbb8f715bb32ecf51de0f (diff)
Add traceback support to the session too
Diffstat (limited to 'shell')
-rw-r--r--shell/session/Session.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/session/Session.py b/shell/session/Session.py
index 92f10b6..9b09a98 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