chiark / gitweb /
systemd-python: return both parts of sd_journal_get_monotonic_usec
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 23 Feb 2013 00:11:36 +0000 (01:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 1 Mar 2013 01:04:17 +0000 (20:04 -0500)
commit86e3d32a1d52cd2ccba184e8375da8828914d3ff
tree9b200f35105c4831de286f708a3c071cc7f71314
parent6a6633a16a510b40c6ad30cd0858699619384a44
systemd-python: return both parts of sd_journal_get_monotonic_usec

In Python 3, a named tuple is used. In Python 2, a simple
tuple is used. In either case, the pair is (timestamp, bootid).
src/python-systemd/_reader.c
src/python-systemd/docs/journal.rst
src/python-systemd/journal.py