waitConnected: don't compare timeout if it is None
This commit is contained in:
1 parent
82998cac8b
commit
966dd20b4b
1 file changed
+1
-1
+1
-1
@@ -190,7 +190,7 @@ class Mininet( object ):
|
||||
if not remaining:
|
||||
info( '\n' )
|
||||
return True
|
||||
if time > timeout and timeout is not None:
|
||||
if timeout is not None and time > timeout:
|
||||
break
|
||||
sleep( delay )
|
||||
time += delay
|
||||
|
||||
Reference in new issue
Block a user