X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2Flogin.c;h=dd2edbca00598daaeb2fb2479fcab6a4e0c6138a;hb=305f78bff3904add317847c4a27483b993dec99b;hp=1e86193f6be8f3a6ca29838ee6e53acfb4627e2a;hpb=c15602af5efd0cf8d30c6ad8161e0442acb5dce2;p=elogind.git diff --git a/src/python-systemd/login.c b/src/python-systemd/login.c index 1e86193f6..dd2edbca0 100644 --- a/src/python-systemd/login.c +++ b/src/python-systemd/login.c @@ -159,7 +159,7 @@ static int Monitor_init(Monitor *self, PyObject *args, PyObject *keywds) int r; static const char* const kwlist[] = {"category", NULL}; - if (!PyArg_ParseTupleAndKeywords(args, keywds, "|z", (char**) kwlist, + if (!PyArg_ParseTupleAndKeywords(args, keywds, "|z:__init__", (char**) kwlist, &category)) return -1;