Merge "Fix indentation issue in wait_for_change override"
This commit is contained in:
commit
6dc5402ab1
@ -49,10 +49,10 @@ LOG = log.getLogger(__name__)
|
|||||||
def wait_for_change(idl_, timeout, seqno=None):
|
def wait_for_change(idl_, timeout, seqno=None):
|
||||||
if seqno is None:
|
if seqno is None:
|
||||||
seqno = idl_.change_seqno
|
seqno = idl_.change_seqno
|
||||||
while idl_.change_seqno == seqno and not idl_.run():
|
while idl_.change_seqno == seqno and not idl_.run():
|
||||||
poller = idlutils.poller.Poller()
|
poller = idlutils.poller.Poller()
|
||||||
idl_.wait(poller)
|
idl_.wait(poller)
|
||||||
poller.block()
|
poller.block()
|
||||||
|
|
||||||
|
|
||||||
idlutils.wait_for_change = wait_for_change
|
idlutils.wait_for_change = wait_for_change
|
||||||
|
Loading…
x
Reference in New Issue
Block a user