py2.4 bug
authorSylvain Thenault <sylvain.thenault@logilab.fr>
Mon, 05 Jan 2009 14:08:40 +0100
changeset 320 e2647e72afe7
parent 319 00ada106b138
child 321 247947250382
py2.4 bug
web/_exceptions.py
--- a/web/_exceptions.py	Sat Jan 03 23:10:12 2009 +0100
+++ b/web/_exceptions.py	Mon Jan 05 14:08:40 2009 +0100
@@ -48,7 +48,8 @@
     """raised when a json remote call fails
     """
     def __init__(self, reason=''):
-        super(RequestError, self).__init__()
+        #super(RequestError, self).__init__() # XXX require py >= 2.5
+        RequestError.__init__(self)
         self.reason = reason
 
     def dumps(self):