mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06:15 +01:00
- also detect a kiwi file
This commit is contained in:
parent
73770458a7
commit
fe6dec5410
@ -3206,7 +3206,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
arg_arch = arg_repository = arg_descr = None
|
||||
if len(args) < 3:
|
||||
for arg in args:
|
||||
if arg.endswith('.spec') or arg.endswith('.dsc'):
|
||||
if arg.endswith('.spec') or arg.endswith('.dsc') or arg.endswith('.kiwi'):
|
||||
arg_descr = arg
|
||||
else:
|
||||
if arg in osc.build.can_also_build.get(osc.build.hostarch, []) or \
|
||||
|
Loading…
Reference in New Issue
Block a user