diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2016-12-14 19:03:49 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2016-12-14 19:03:49 +0200 |
commit | 19d7597f424b9c8e9bfd8685dae431a59b7c6f55 (patch) | |
tree | 9a4bcd91d9bd88b9873d47599e25268e0958d013 | |
parent | b728665bc88b917e4476f59c5be7701136cb9ba0 (diff) | |
download | rpm-19d7597f424b9c8e9bfd8685dae431a59b7c6f55.tar.gz |
Return the return code of rpmsqPoll() to python too
-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 51f04db7e..29bfb779c 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -49,8 +49,7 @@ static PyObject * signalCaught(PyObject *self, PyObject *o) static PyObject * checkSignals(PyObject * self) { - rpmsqPoll(); - Py_RETURN_NONE; + return Py_BuildValue("i", rpmsqPoll()); } static PyObject * setLogFile (PyObject * self, PyObject *arg) |