summaryrefslogtreecommitdiff
path: root/src/python-systemd/id128.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-20 18:40:05 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-21 22:39:24 -0400
commit806bc1cb610b1795d62f59878703361c8b576b12 (patch)
tree02e2d7f78114014d9b6ef27ee3f5bba8e6ebfb97 /src/python-systemd/id128.c
parent50a279f85783375416dacae7dafbcbbcd2765962 (diff)
systemd-python: cleanup up usec_t handling
The behaviour wrt. seconds vs. microseconds was inconsistent. Now _Reader always uses native units (us), while Reader always uses seconds and accepts both floats and ints. This way the conversion is always done in the Python layer, and the lower level API allows access to the journal API without the potentially lossy conversion between double and uint64_t.
Diffstat (limited to 'src/python-systemd/id128.c')
0 files changed, 0 insertions, 0 deletions