2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

ovs.reconnect: Fix typo in documentation.

Reported-by: Reid Price <reid@nicira.com>
This commit is contained in:
Ben Pfaff
2011-08-23 11:33:08 -07:00
parent 0a61b042a5
commit 90d9dcfc12

View File

@@ -513,8 +513,8 @@ class Reconnect(object):
def timeout(self, now):
"""Returns the number of milliseconds after which self.run() should be
called if nothing else notable happens in the meantime, or a negative
number if this is currently unnecessary."""
called if nothing else notable happens in the meantime, or None if this
is currently unnecessary."""
deadline = self.state.deadline(self)
if deadline is not None:
remaining = deadline - now