diff options
author | Steven Hiscocks <steven-systemd@hiscocks.me.uk> | 2013-04-06 18:46:44 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-06 18:50:35 -0400 |
commit | 7c962c866ad7b8842d96dbb92f809625a5d31dde (patch) | |
tree | 250885e7d1375645a0ffc75cd9f90c442c787b04 /src/python-systemd | |
parent | 2f9f5aa014bda3b52ae388a7283e0fd50d4621c3 (diff) |
systemd-python: fix wait bug
Diffstat (limited to 'src/python-systemd')
-rw-r--r-- | src/python-systemd/journal.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py index c918c439b5..48f57ac7a5 100644 --- a/src/python-systemd/journal.py +++ b/src/python-systemd/journal.py @@ -23,7 +23,6 @@ from __future__ import division import sys as _sys import datetime as _datetime -import functools as _functools import uuid as _uuid import traceback as _traceback import os as _os @@ -221,7 +220,7 @@ class Reader(_Reader): have been added or removed). """ us = -1 if timeout is None else int(timeout * 1000000) - return super(Reader, self).wait(timeout) + return super(Reader, self).wait(us) def seek_realtime(self, realtime): """Seek to a matching journal entry nearest to `realtime` time. |