From: Zack Cerza Date: Sat, 8 Mar 2014 13:58:13 +0000 (-0600) Subject: Iterate more sensibly over processes X-Git-Tag: 1.1.0~1614 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4205caedf345b1ff660c4547058f15faa6beceb;p=teuthology.git Iterate more sensibly over processes Signed-off-by: Zack Cerza --- diff --git a/teuthology/orchestra/run.py b/teuthology/orchestra/run.py index 0686fa72e..f7e4d4823 100644 --- a/teuthology/orchestra/run.py +++ b/teuthology/orchestra/run.py @@ -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)