minor: split up one-liner
This commit is contained in:
parent
7392098ca8
commit
941f224f01
@ -107,7 +107,8 @@ if __name__ == '__main__':
|
|||||||
pbar = ProgressBar(widgets = widgets, maxval = count)
|
pbar = ProgressBar(widgets = widgets, maxval = count)
|
||||||
pbar.start()
|
pbar.start()
|
||||||
for i in xrange(count):
|
for i in xrange(count):
|
||||||
results.append(resultsq.get())
|
cur_result = resultsq.get()
|
||||||
|
results.append(cur_result)
|
||||||
pbar.update(i+1)
|
pbar.update(i+1)
|
||||||
receive_end = time.time()
|
receive_end = time.time()
|
||||||
pbar.finish()
|
pbar.finish()
|
||||||
|
Loading…
Reference in New Issue
Block a user