Don't shadow builtin.

This commit is contained in:
Itamar Turner-Trauring 2021-06-02 09:54:57 -04:00
parent bc1e96f4da
commit a0744ffa8c

View File

@ -66,10 +66,10 @@ class SlowOperationRunner(object):
def wait_for_results(self):
last = 0
for next in self.poll_times():
delay = next - last
for next_item in self.poll_times():
delay = next_item - last
time.sleep(delay)
last = next
last = next_item
if self.poll():
return 0