chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: fix typo
[elogind.git]
/
src
/
python-systemd
/
journal.py
diff --git
a/src/python-systemd/journal.py
b/src/python-systemd/journal.py
index 9c7e0045e5fddce2a9c354894e009b2f51d23c1e..dd1f2299735673107eb090de0b0aa32ee870a830 100644
(file)
--- a/
src/python-systemd/journal.py
+++ b/
src/python-systemd/journal.py
@@
-293,7
+293,7
@@
class Reader(_Reader):
monotonic = monotonic.totalseconds()
monotonic = int(monotonic * 1000000)
if isinstance(bootid, _uuid.UUID):
monotonic = monotonic.totalseconds()
monotonic = int(monotonic * 1000000)
if isinstance(bootid, _uuid.UUID):
- bootid = bootid.
get_hex()
+ bootid = bootid.
hex
return super(Reader, self).seek_monotonic(monotonic, bootid)
def log_level(self, level):
return super(Reader, self).seek_monotonic(monotonic, bootid)
def log_level(self, level):
@@
-314,7
+314,7
@@
class Reader(_Reader):
Equivalent to add_match(MESSAGE_ID=`messageid`).
"""
if isinstance(messageid, _uuid.UUID):
Equivalent to add_match(MESSAGE_ID=`messageid`).
"""
if isinstance(messageid, _uuid.UUID):
- messageid = messageid.
get_hex()
+ messageid = messageid.
hex
self.add_match(MESSAGE_ID=messageid)
def this_boot(self, bootid=None):
self.add_match(MESSAGE_ID=messageid)
def this_boot(self, bootid=None):
@@
-346,7
+346,7
@@
class Reader(_Reader):
def get_catalog(mid):
if isinstance(mid, _uuid.UUID):
def get_catalog(mid):
if isinstance(mid, _uuid.UUID):
- mid = mid.
get_hex()
+ mid = mid.
hex
return _get_catalog(mid)
def _make_line(field, value):
return _get_catalog(mid)
def _make_line(field, value):