projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Don't compare None and int.
[cascardo/ovs.git]
/
python
/
ovs
/
reconnect.py
diff --git
a/python/ovs/reconnect.py
b/python/ovs/reconnect.py
index
39dd556
..
d4f5951
100644
(file)
--- a/
python/ovs/reconnect.py
+++ b/
python/ovs/reconnect.py
@@
-518,7
+518,7
@@
class Reconnect(object):
"""Causes the next call to poller.block() to wake up when self.run()
should be called."""
timeout = self.timeout(now)
- if timeout >= 0:
+ if timeout
is not None and timeout
>= 0:
poller.timer_wait(timeout)
def timeout(self, now):