adjust comments
This commit is contained in:
parent
085d97fb2d
commit
6fb33731d9
2 changed files with 2 additions and 2 deletions
|
|
@ -748,7 +748,7 @@ def make_task(method, arglist, **opts):
|
|||
opts['id'] = task_id
|
||||
koji.plugin.run_callbacks(
|
||||
'postTaskStateChange', attribute='state', old=None, new='FREE', info=opts)
|
||||
scheduler.auto_arch_refuse(task_id) # temporary hack
|
||||
scheduler.auto_arch_refuse(task_id) # temporary workaround
|
||||
return task_id
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ def set_refusal(hostID, taskID, soft=True, by_host=False, msg=''):
|
|||
|
||||
def auto_arch_refuse(task_id):
|
||||
"""Set refusals for hosts based on task parameters"""
|
||||
# HACK
|
||||
# This is a temporary workaround
|
||||
try:
|
||||
_auto_arch_refuse(task_id)
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue