Author: tack
Date: Wed Mar 12 21:43:59 2008
New Revision: 3185
Log:
Call proxied exception class __init__ in AsyncException, which is necessary
for python 2.4.
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 Wed Mar 12 21:43:59 2008
@@ -78,6 +78,9 @@
This class will proxy the given exception object.
"""
def __init__(self, exc, stack, *args):
+ # Call constructor of the Exception class we are proxying (and which
+ # will be in our __bases__ due to metaclass).
+ exc.__class__.__init__(self)
self._kaa_exc = exc
self._kaa_exc_stack = stack
self._kaa_exc_args = args
-------------------------------------------------------------------------
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