don't include options with no value
This commit is contained in:
parent
60d66b010a
commit
3c5c245c05
1 changed files with 3 additions and 1 deletions
4
cli/koji
4
cli/koji
|
|
@ -670,7 +670,9 @@ def handle_build(options, session, args):
|
|||
if build_opts.arch_override:
|
||||
opts['arch_override'] = ' '.join(build_opts.arch_override.replace(',',' ').split())
|
||||
for key in ('skip_tag','scratch'):
|
||||
opts[key] = getattr(build_opts,key)
|
||||
val = getattr(build_opts, key)
|
||||
if val is not None:
|
||||
opts[key] = val
|
||||
priority = None
|
||||
if build_opts.background:
|
||||
#relative to koji.PRIO_DEFAULT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue