[Neo-report] r2737 jm - /trunk/neo/tests/functional/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 28 11:14:08 CEST 2011


Author: jm
Date: Thu Apr 28 11:14:08 2011
New Revision: 2737

Log:
Exceptions are not new-style classes in Python < 2.5

Modified:
    trunk/neo/tests/functional/__init__.py

Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Thu Apr 28 11:14:08 2011
@@ -120,7 +120,7 @@ class ChildException(KeyboardInterrupt):
             f = f.f_back
         else:
             raise type, value, tb
-        super(ChildException, self).__init__(type, value, tb)
+        KeyboardInterrupt.__init__(self, type, value, tb)
 
     def __call__(self):
         """Re-raise wrapped exception"""




More information about the Neo-report mailing list