minor: split up one-liner

This commit is contained in:
Stephen Mardson McQuay 2011-05-26 10:12:53 -06:00
parent 7392098ca8
commit 941f224f01

View File

@ -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()