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).
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-02-28 20:04:17 -05:00
parent 6a6633a16a
commit 86e3d32a1d
3 changed files with 71 additions and 13 deletions
+2
View File
@@ -23,6 +23,8 @@ Accessing the Journal
.. automethod:: __init__
.. autoclass:: Monotonic
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS
Whence constants