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):
|
||||
if seqno is None:
|
||||
seqno = idl_.change_seqno
|
||||
while idl_.change_seqno == seqno and not idl_.run():
|
||||
poller = idlutils.poller.Poller()
|
||||
idl_.wait(poller)
|
||||
poller.block()
|
||||
while idl_.change_seqno == seqno and not idl_.run():
|
||||
poller = idlutils.poller.Poller()
|
||||
idl_.wait(poller)
|
||||
poller.block()
|
||||
|
||||
|
||||
idlutils.wait_for_change = wait_for_change
|
||||
|
Loading…
Reference in New Issue
Block a user