forked from pool/systemd
d4886680e8
- Add patch portmap-wants-rpcbind-socket.patch to make sure that rpcbind socket as well as service is up with the target - Add or port upstram bugfix patches: 0001-journal-fix-export-of-messages-containing-newlines.patch 0002-systemctl-update-NAME-to-PATTERN-in-help.patch 0003-tty-ask-password-agent-return-negative-errno.patch 0004-systemd-python-use-.hex-instead-of-.get_hex.patch 0005-systemd-python-fix-failing-assert.patch - Add patch portmap-wants-rpcbind-socket.patch to make sure that rpcbind socket as well as service is up with the target - Add or port upstram bugfix patches: 0001-journal-fix-export-of-messages-containing-newlines.patch 0002-systemctl-update-NAME-to-PATTERN-in-help.patch 0003-tty-ask-password-agent-return-negative-errno.patch 0004-systemd-python-use-.hex-instead-of-.get_hex.patch 0005-systemd-python-fix-failing-assert.patch OBS-URL: https://build.opensuse.org/request/show/229352 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=180
27 lines
819 B
Diff
27 lines
819 B
Diff
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
|
|
|