Return the return code of rpmsqPoll() to python too

This commit is contained in:
Panu Matilainen 2016-12-14 19:03:49 +02:00
parent b728665bc8
commit 19d7597f42
1 changed files with 1 additions and 2 deletions

View File

@ -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)