summaryrefslogtreecommitdiff
path: root/systemd
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>2015-07-05 14:19:21 -0400
commit4398250261f189dace230eceb18209fc6e37aef4 (patch)
tree67369ec88047460b80a8e8c3b907299b5f7f9d04 /systemd
parent583f1a94417bcfba3f32ad4969eddb5fb025bb26 (diff)
downloadpython-systemd-4398250261f189dace230eceb18209fc6e37aef4.tar.gz
systemd-python: fix failing assert
A parameter which was always null before, now get's set to the module.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/_reader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/systemd/_reader.c b/systemd/_reader.c
index 059b904..9a19a10 100644
--- a/systemd/_reader.c
+++ b/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_))