Merge "Fix indentation issue in wait_for_change override"

This commit is contained in:
Zuul 2022-09-15 15:08:37 +00:00 committed by Gerrit Code Review
commit 6dc5402ab1

View File

@ -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