mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
Don't shadow builtin.
This commit is contained in:
parent
bc1e96f4da
commit
a0744ffa8c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user