[pypy-commit] cffi cffi-1.0: Typo (thanks lazka)

arigo noreply at buildbot.pypy.org
Sat May 9 16:27:10 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1948:9093dc33174f
Date: 2015-05-09 16:27 +0200
http://bitbucket.org/cffi/cffi/changeset/9093dc33174f/

Log:	Typo (thanks lazka)

diff --git a/_cffi1/cffi1_module.c b/_cffi1/cffi1_module.c
--- a/_cffi1/cffi1_module.c
+++ b/_cffi1/cffi1_module.c
@@ -18,9 +18,9 @@
 {
     PyObject *x;
 
-    if (!PyType_Ready(&FFI_Type) < 0)
+    if (PyType_Ready(&FFI_Type) < 0)
         return -1;
-    if (!PyType_Ready(&Lib_Type) < 0)
+    if (PyType_Ready(&Lib_Type) < 0)
         return -1;
     if (init_global_types_dict(FFI_Type.tp_dict) < 0)
         return -1;


More information about the pypy-commit mailing list