commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6296 - trunk/gnue-common/src/apps


From: reinhard
Subject: r6296 - trunk/gnue-common/src/apps
Date: Thu, 16 Sep 2004 07:08:06 -0500 (CDT)

Author: reinhard
Date: 2004-09-16 07:08:05 -0500 (Thu, 16 Sep 2004)
New Revision: 6296

Modified:
   trunk/gnue-common/src/apps/GBaseApp.py
Log:
Restore exception hook after showing an exception. The exception hook is not
only called just before python dies, but also by the UI's.


Modified: trunk/gnue-common/src/apps/GBaseApp.py
===================================================================
--- trunk/gnue-common/src/apps/GBaseApp.py      2004-09-16 11:34:14 UTC (rev 
6295)
+++ trunk/gnue-common/src/apps/GBaseApp.py      2004-09-16 12:08:05 UTC (rev 
6296)
@@ -576,6 +576,7 @@
     """
     sys.excepthook = sys.__excepthook__
     self.showException (*errors.getException (None, etype, value, traceback))
+    sys.excepthook = self.excepthook
 
 
   # ---------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]