Skip to content

Commit 4398250

Browse files
committed
systemd-python: fix failing assert
A parameter which was always null before, now get's set to the module.
1 parent 583f1a9 commit 4398250

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

systemd/_reader.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,6 @@ static PyObject* get_catalog(PyObject *self, PyObject *args) {
902902
sd_id128_t id;
903903
_cleanup_free_ char *msg = NULL;
904904

905-
assert(!self);
906905
assert(args);
907906

908907
if (!PyArg_ParseTuple(args, "z:get_catalog", &id_))

0 commit comments

Comments
 (0)