diff --git a/kojihub/kojihub.py b/kojihub/kojihub.py index 7bea1987..c9183fd5 100644 --- a/kojihub/kojihub.py +++ b/kojihub/kojihub.py @@ -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 diff --git a/kojihub/scheduler.py b/kojihub/scheduler.py index adc6affc..e83996d2 100644 --- a/kojihub/scheduler.py +++ b/kojihub/scheduler.py @@ -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: