aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 15:51:33 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 15:51:33 +0200
commit39c7eb7762cac62972834ae8966b687710d69e9c (patch)
tree0495e5121fad14834039952cb134de742fc806a7
parentadd timed calls (diff)
downloadpython-bus-39c7eb7762cac62972834ae8966b687710d69e9c.tar.gz
python-bus-39c7eb7762cac62972834ae8966b687710d69e9c.tar.bz2
python-bus-39c7eb7762cac62972834ae8966b687710d69e9c.tar.xz
typo3.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/bus.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bus.py b/src/bus.py
index f59ad1b..08e8a9b 100644
--- a/src/bus.py
+++ b/src/bus.py
@@ -172,7 +172,7 @@ class Bus:
if clock_id is None:
import time
clock_id = time.CLOCK_MONOTONIC_RAW
- timeout += timeout.clock_gettime(clock_id)
+ timeout += time.clock_gettime(clock_id)
(r, e) = bus_write_timed_wrapped(self.bus, message, timeout, clock_id)
if r == -1:
raise self.__oserror(e)
@@ -242,7 +242,7 @@ class Bus:
if clock_id is None:
import time
clock_id = time.CLOCK_MONOTONIC_RAW
- timeout += timeout.clock_gettime(clock_id)
+ timeout += time.clock_gettime(clock_id)
(r, e) = bus_read_timed_wrapped(self.bus, callback, user_data, timeout, clock_id)
if r == -1:
raise self.__oserror(e)
@@ -317,7 +317,7 @@ class Bus:
if clock_id is None:
import time
clock_id = time.CLOCK_MONOTONIC_RAW
- timeout += timeout.clock_gettime(clock_id)
+ timeout += time.clock_gettime(clock_id)
(message, e) = bus_poll_timed_wrapped(self.bus, timeout, clock_id)
if message is None:
raise self.__oserror(e)