[pypy-commit] pypy reflex-support: fix typo

wlav noreply at buildbot.pypy.org
Thu Mar 1 09:07:39 CET 2012


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r53040:0dc4a4c9163a
Date: 2012-03-01 00:02 -0800
http://bitbucket.org/pypy/pypy/changeset/0dc4a4c9163a/

Log:	fix typo

diff --git a/pypy/module/cppyy/pythonify.py b/pypy/module/cppyy/pythonify.py
--- a/pypy/module/cppyy/pythonify.py
+++ b/pypy/module/cppyy/pythonify.py
@@ -255,7 +255,7 @@
     if pycppitem:
         return pycppitem
 
-    raise AttributeError("'%s' has no attribute '%s'", (str(scope), name))
+    raise AttributeError("'%s' has no attribute '%s'" % (str(scope), name))
 
 get_cppclass = get_cppitem         # TODO: restrict to classes only (?)
 


More information about the pypy-commit mailing list