diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-30 00:01:00 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-30 00:17:16 -0500 |
commit | 819c7e4fa4422af1298a0bf074b1f5644e46fa13 (patch) | |
tree | ba83daca5bfc44ee32c41cc5aa80db6909c5657f /src/python-systemd/_daemon.c | |
parent | b560cc1c45006a98c7652435df13c96b39827f22 (diff) |
systemd-python: fix listen_fds under Python 2
Diffstat (limited to 'src/python-systemd/_daemon.c')
-rw-r--r-- | src/python-systemd/_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/_daemon.c b/src/python-systemd/_daemon.c index c6db69fe26..3982e85426 100644 --- a/src/python-systemd/_daemon.c +++ b/src/python-systemd/_daemon.c @@ -114,7 +114,7 @@ static PyObject* listen_fds(PyObject *self, PyObject *args, PyObject *keywds) { #else PyObject *obj = NULL; if (!PyArg_ParseTupleAndKeywords(args, keywds, "|O:_listen_fds", - (char**) kwlist, &unset, &obj)) + (char**) kwlist, &obj)) return NULL; if (obj != NULL) unset = PyObject_IsTrue(obj); |