[systemd-commits] src/python-systemd

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Sat Apr 6 16:35:58 PDT 2013


 src/python-systemd/journal.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7c962c866ad7b8842d96dbb92f809625a5d31dde
Author: Steven Hiscocks <steven-systemd at hiscocks.me.uk>
Date:   Sat Apr 6 18:46:44 2013 -0400

    systemd-python: fix wait bug

diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py
index c918c43..48f57ac 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.



More information about the systemd-commits mailing list