correct dict key check mechanism
Fixes: #742 https://pagure.io/koji/issue/742
This commit is contained in:
parent
20f6fec390
commit
fce85a67c0
1 changed files with 1 additions and 1 deletions
|
|
@ -5760,7 +5760,7 @@ def _build_image(options, task_opts, session, args, img_type):
|
|||
if val is not None:
|
||||
hub_opts[opt] = val
|
||||
|
||||
if hasattr(hub_opts, 'optional_arches'):
|
||||
if 'optional_arches' in hub_opts:
|
||||
hub_opts['optional_arches'] = hub_opts['optional_arches'].split(',')
|
||||
|
||||
# finally, create the task.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue