chiark / gitweb /
python-systemd: check all errors and use automatic cleanup
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Feb 2013 12:33:06 +0000 (13:33 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 1 Mar 2013 01:04:17 +0000 (20:04 -0500)
commit6a6633a16a510b40c6ad30cd0858699619384a44
tree0fdf50a3cd3e478e7df9a5d30298fb4f2087a965
parentd426d8c8632ba0be408f8b6b56514b4598abab74
python-systemd: check all errors and use automatic cleanup

__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.
Makefile.am
src/python-systemd/_reader.c
src/python-systemd/id128.c
src/python-systemd/journal.py
src/python-systemd/pyutil.c [new file with mode: 0644]
src/python-systemd/pyutil.h [new file with mode: 0644]