1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-03-04 08:21:47 +01:00

- also detect a kiwi file

This commit is contained in:
Marcus Huewe
2010-01-29 23:16:15 +01:00
committed by Adrian Schröter
parent 6cfca05086
commit bb0c2be138

View File

@@ -3160,7 +3160,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 \