From: Benjamin Peterson Date: Thu, 16 Jan 2014 21:56:22 +0000 (-0500) Subject: fix error check X-Git-Tag: v2.7.8~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8363f77795503e5352d983be844f156f4f495458;p=python fix error check --- diff --git a/Python/symtable.c b/Python/symtable.c index 644d9c5083..99f4191e5e 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -468,7 +468,7 @@ analyze_cells(PyObject *scope, PyObject *free) */ if (PyDict_SetItem(scope, name, w) < 0) goto error; - if (!PyDict_DelItem(free, name) < 0) + if (PyDict_DelItem(free, name) < 0) goto error; } success = 1;