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)
|
static PyObject * checkSignals(PyObject * self)
|
||||||
{
|
{
|
||||||
rpmsqPoll();
|
return Py_BuildValue("i", rpmsqPoll());
|
||||||
Py_RETURN_NONE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject * setLogFile (PyObject * self, PyObject *arg)
|
static PyObject * setLogFile (PyObject * self, PyObject *arg)
|
||||||
|
|
Loading…
Reference in New Issue