summaryrefslogtreecommitdiff
path: root/systemd/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-07 11:28:44 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-05 14:19:17 -0400
commit67bdb044d89e04ee9e71741b20f797bb32458b32 (patch)
tree9ebbd4cedb182330b93480ecdd1400009ef6cc99 /systemd/docs
parent000525db3e22d76131adbb17bc87b1c7c6426481 (diff)
downloadpython-systemd-67bdb044d89e04ee9e71741b20f797bb32458b32.tar.gz
systemd-python: refuse path and flags together in __init__
It's better to explictly check, instead of just documenting it. The return value from init is changed from 1 to -1 on error. Python seems to ignore 1 every second time. Looks like a bug in Python, but the return value doesn't seem to be documented anywhere, and -1 works as expected... so let's just use that.
Diffstat (limited to 'systemd/docs')
0 files changed, 0 insertions, 0 deletions