systemd/0005-systemd-python-fix-failing-assert.patch

27 lines
819 B
Diff
Raw Normal View History

From b65f24238b0627143916a9c7f8315483a9666676 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Sat, 5 Apr 2014 13:29:50 -0400
Subject: [PATCH] systemd-python: fix failing assert
A parameter which was always null before, now get's set to
the module.
---
src/python-systemd/_reader.c | 1 -
1 file changed, 1 deletion(-)
diff --git src/python-systemd/_reader.c src/python-systemd/_reader.c
index 059b904..9a19a10 100644
--- src/python-systemd/_reader.c
+++ 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_))
--
1.7.9.2