[pypy-commit] cffi default: One more place
arigo
noreply at buildbot.pypy.org
Wed Sep 30 17:20:38 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2295:d775ed0dc13c
Date: 2015-09-30 17:07 +0200
http://bitbucket.org/cffi/cffi/changeset/d775ed0dc13c/
Log: One more place
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -6309,9 +6309,11 @@
if (m == NULL)
INITERROR;
- unique_cache = PyDict_New();
- if (unique_cache == NULL)
- INITERROR;
+ if (unique_cache == NULL) {
+ unique_cache = PyDict_New();
+ if (unique_cache == NULL)
+ INITERROR;
+ }
if (PyType_Ready(&dl_type) < 0)
INITERROR;
More information about the pypy-commit
mailing list