Author: Wim Lavrijsen <[email protected]>
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))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit