diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-20 18:40:05 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-21 22:39:24 -0400 |
commit | 806bc1cb610b1795d62f59878703361c8b576b12 (patch) | |
tree | 02e2d7f78114014d9b6ef27ee3f5bba8e6ebfb97 /src/core | |
parent | 50a279f85783375416dacae7dafbcbbcd2765962 (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/core')
0 files changed, 0 insertions, 0 deletions