mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
Iterate more sensibly over processes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
This commit is contained in:
parent
204b3ac710
commit
b4205caedf
@ -347,7 +347,7 @@ def wait(processes, timeout=None):
|
||||
not_ready = list(processes)
|
||||
while len(not_ready) > 0:
|
||||
check_time()
|
||||
for proc in not_ready:
|
||||
for proc in list(not_ready):
|
||||
if proc.exitstatus.ready():
|
||||
not_ready.remove(proc)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user