Fix SWIG_Py_None regression from last commit

This commit is contained in:
William S Fulton 2018-07-18 11:44:27 +01:00
commit 5ce880ee41

View file

@ -256,7 +256,7 @@ SWIGRUNTIME PyObject *
SWIG_Py_None(void)
{
static PyObject *none = NULL;
if (!none == NULL) {
if (!none) {
none = Py_BuildValue("");
Py_DECREF(none);
}