diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-29 23:39:28 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-30 00:17:15 -0500 |
commit | b560cc1c45006a98c7652435df13c96b39827f22 (patch) | |
tree | 6ebfdf010c77424cb84aa4b31fdf6ac6fe4a11c1 /src/python-systemd/_journal.c | |
parent | 892213bf1fd23e48d64a407ece6e10b07bef1926 (diff) |
systemd-python: fix setting of exception codes
The return value of 0 would be treated as failure by mistake,
resulting in " SystemError: error return without exception set".
The way that set_error() is used is changed to be the same
everywhere.
Diffstat (limited to 'src/python-systemd/_journal.c')
0 files changed, 0 insertions, 0 deletions