Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/python/uwsgi_pymodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,9 @@ PyObject *py_uwsgi_spooler_pids(PyObject * self, PyObject * args) {
PyObject *ret = PyList_New(0);
struct uwsgi_spooler *uspool = uwsgi.spoolers;
while (uspool) {
PyList_Append(ret, PyInt_FromLong(uspool->pid));
PyObject *spool_pid = PyInt_FromLong(uspool->pid)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a semicolon ";" missing at the end.

PyList_Append(ret, spool_pid);
Py_DECREF(spool_pid);
uspool = uspool->next;
}
return ret;
Expand Down