summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-05 13:29:50 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-05 13:30:08 -0400
commitb65f24238b0627143916a9c7f8315483a9666676 (patch)
treeb59a9e6b0e443b9d8fcc0b799f2f8d78f63673d7 /src
parentb532cf3722e04adb0bd075666eb9989a9390d0a2 (diff)
systemd-python: fix failing assert
A parameter which was always null before, now get's set to the module.
Diffstat (limited to 'src')
-rw-r--r--src/python-systemd/_reader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c
index 059b904de7..9a19a10219 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_))