diff options
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -29,7 +29,5 @@ bg = bgproc.BackgroundProcessing(inc) for i in range(N): bg.enqueue_request(i) bg.close_requests() -while bg.wait_for_results(): - for result in bg: - print result +print bg.get_results(True) |