diff options
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r-- | python/rpmmodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 4d04761a5..8fa82e3e5 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -85,8 +85,7 @@ static PyObject * checkSignals(PyObject * self, PyObject * args) { if (!PyArg_ParseTuple(args, ":checkSignals")) return NULL; rpmdbCheckSignals(); - Py_INCREF(Py_None); - return Py_None; + Py_RETURN_NONE; } |