continue instead of exiting

Fixes: https://pagure.io/koji/issue/1840
This commit is contained in:
Tomas Kopecek 2019-11-27 15:15:50 +01:00 committed by Mike McLean
parent e4b7dce503
commit 208ecca37f

View file

@ -901,8 +901,8 @@ class TaskManager(object):
#accept this task)
bin_avail = avail.get(bin, [0])
if self.checkAvailDelay(task, bin_avail, our_avail):
# decline for now and give the upper half a chance
return False
# decline for now and give the upper half a chance
continue
#otherwise, we attempt to open the task
if self.takeTask(task):
return True