Author: dmeyer
Date: Wed Feb 20 13:01:14 2008
New Revision: 3121

Log:
fix exception handling

Modified:
   trunk/base/src/notifier/main.py

Modified: trunk/base/src/notifier/main.py
==============================================================================
--- trunk/base/src/notifier/main.py     (original)
+++ trunk/base/src/notifier/main.py     Wed Feb 20 13:01:14 2008
@@ -113,7 +113,8 @@
                     # Either there are no global exception handlers, or none of
                     # them explicitly returned False to abort mainloop 
                     # termination.  So abort the main loop.
-                    raise sys.exc_info()
+                    type, value, tb = sys.exc_info()
+                    raise type, value, tb
     finally:
         # make sure we set mainloop status even for Exceptions we did not
         # catch. E.g. in Python 2.5 SystemExit and KeyboardInterrupt do not

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to