Missing piece of code

This commit is contained in:
Thomas Nagy 2016-02-28 11:30:18 +01:00
parent 1524d74301
commit 126fc7e4b4
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 4 additions and 1 deletions

View File

@ -284,7 +284,10 @@ class Parallel(object):
self.processed += 1
if self.numjobs == 1:
tsk.process()
try:
tsk.process()
finally:
self.out.put(tsk)
else:
self.add_task(tsk)
if st == Task.ASK_LATER: