diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-05-17 15:51:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-05-17 15:51:33 +0200 |
commit | 39c7eb7762cac62972834ae8966b687710d69e9c (patch) | |
tree | 0495e5121fad14834039952cb134de742fc806a7 /src/bus.py | |
parent | add timed calls (diff) | |
download | python-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 'src/bus.py')
-rw-r--r-- | src/bus.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |