Author: tack
Date: Sat Feb 16 14:09:50 2008
New Revision: 3109

Log:
Fix for python 2.4.  AsyncException.__str__ was not being called.


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 14:09:50 2008
@@ -56,6 +56,10 @@
     """
     def create(exc, stack, *args):
         from new import classobj
+        dict.update({
+            # Necessary for python 2.4
+            '__str__': AsyncExceptionBase.__str__
+        })
         e = classobj(name, (exc.__class__,) + bases, dict)(*exc.args)
         e._set_info(exc.__class__.__name__, stack, *args)
         return e

-------------------------------------------------------------------------
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