From: Zbigniew Jędrzejewski-Szmek Date: Sat, 5 Apr 2014 17:29:50 +0000 (-0400) Subject: systemd-python: fix failing assert X-Git-Tag: v213~470 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b65f24238b0627143916a9c7f8315483a9666676 systemd-python: fix failing assert A parameter which was always null before, now get's set to the module. --- diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index 059b904de..9a19a1021 100644 --- a/src/python-systemd/_reader.c +++ b/src/python-systemd/_reader.c @@ -902,7 +902,6 @@ static PyObject* get_catalog(PyObject *self, PyObject *args) { sd_id128_t id; _cleanup_free_ char *msg = NULL; - assert(!self); assert(args); if (!PyArg_ParseTuple(args, "z:get_catalog", &id_))