Author: Wim Lavrijsen <wlavrij...@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 (?)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to