Return the return code of rpmsqPoll() to python too
This commit is contained in:
parent
b728665bc8
commit
19d7597f42
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue