[pypy-commit] pypy reflex-support: fix translation error
wlav
noreply at buildbot.pypy.org
Thu Jul 7 01:45:54 CEST 2011
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r45398:6c9c330bf4dd
Date: 2011-07-06 15:28 -0700
http://bitbucket.org/pypy/pypy/changeset/6c9c330bf4dd/
Log: fix translation error
diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -475,7 +475,7 @@
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))
More information about the pypy-commit
mailing list