Commits

wlav committed 6c9c330

fix translation error

  • Participants
  • Parent commits 359fb9a
  • Branches reflex-support

Comments (0)

Files changed (1)

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