return all results when waiting on all subtasks
This commit is contained in:
parent
5f2cf2b8df
commit
73f325e29d
1 changed files with 4 additions and 1 deletions
|
|
@ -241,7 +241,10 @@ class BaseTaskHandler(object):
|
|||
# main process will wake us up with SIGUSR2
|
||||
self.logger.debug("...waking up")
|
||||
self.logger.debug("Finished waiting")
|
||||
return dict(self.session.host.taskWaitResults(self.id,finished))
|
||||
if all:
|
||||
return dict(self.session.host.taskWaitResults(self.id, subtasks))
|
||||
else:
|
||||
return dict(self.session.host.taskWaitResults(self.id, finished))
|
||||
|
||||
def getUploadDir(self):
|
||||
return koji.pathinfo.taskrelpath(self.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue