Author: tack
Date: Sat Feb 16 10:26:05 2008
New Revision: 3108
Log:
Don't wrap async exception in an AsyncException object if it's already
one (e.g. already a RemoteException)
Modified:
trunk/base/src/notifier/async.py
Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py (original)
+++ trunk/base/src/notifier/async.py Sat Feb 16 10:26:05 2008
@@ -345,7 +345,9 @@
else:
# No traceback, so construct an AsyncException based on the
# stack.
- raise AsyncException(exc_value, exc_tb_or_stack)
+ if not isinstance(exc_value, AsyncExceptionBase):
+ exc_value = AsyncException(exc_value, exc_tb_or_stack)
+ raise exc_value
return self._result
-------------------------------------------------------------------------
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