Author: Michal Bendowski <mic...@bendowski.pl>
Branch: jvm-improvements
Changeset: r56529:66ec0e8549af
Date: 2012-08-01 21:22 +0200
http://bitbucket.org/pypy/pypy/changeset/66ec0e8549af/

Log:    Fix a typo from the last commit.

diff --git a/pypy/rpython/typesystem.py b/pypy/rpython/typesystem.py
--- a/pypy/rpython/typesystem.py
+++ b/pypy/rpython/typesystem.py
@@ -187,7 +187,7 @@
         return hop.genop('oois', v_list, resulttype=lltype.Bool)
 
     def check_rffi_call(self, func):
-        if not hasattr(func._ptr._obj, 'oo_promitive'):
+        if not hasattr(func._ptr._obj, 'oo_primitive'):
             raise TyperError(
                 "Calling {func_name} via rffi, but it has no OO primitive 
assigned.".format(func_name=func.func_name))
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to