Commits

wlav committed 6c9c330

fix translation error

Comments (0)

Files changed (1)

pypy/module/cppyy/interp_cppyy.py

     def construct(self, args_w):
         try:
             overload = self.get_overload(self.name)
-        except Exception, e:
+        except OperationError, e:
             if e.match(self.space, self.space.w_AttributeError):
                 raise OperationError(self.space.w_TypeError,
                                      self.space.wrap("%s is abstract" % self.name))