summaryrefslogtreecommitdiff
path: root/systemd/pyutil.c
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: systemd→python-systemd in headersZbigniew Jędrzejewski-Szmek2015-08-071-3/+3
|
* Update LICENSE file and classifiersZbigniew Jędrzejewski-Szmek2015-07-051-1/+0
| | | | | | The license was originally MIT, but when this module became part of systemd, it was changed to LGPLv2+. All files had correct headers, so only the LICENSE file needs updating. Take the opportunity to add classifiers to setup.py.
* systemd-python: add support for sd_j_open_filesZbigniew Jędrzejewski-Szmek2015-07-051-0/+20
| | | | Also export missing flags.
* systemd-python: use consistent indentationZbigniew Jędrzejewski-Szmek2015-07-051-24/+24
|
* systemd-python: wrap sd_login_monitorZbigniew Jędrzejewski-Szmek2015-07-051-0/+14
|
* systemd-python: add wrappers for easy functions in sd-loginZbigniew Jędrzejewski-Szmek2015-07-051-0/+16
| | | | sd_get_uids, sd_get_seats, sd_get_sessions, and sd_get_machine_names.
* python-systemd: check all errors and use automatic cleanupZbigniew Jędrzejewski-Szmek2015-07-051-0/+30
__REALTIME_TIMESTAMP and __MONOTONIC_TIMESTAMP return ints. It doesn't make sense to convert to string, just to convert back to a number later on. Also try to follow systemd rules for indentation.