1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

- autodetect *.kiwi files too

This commit is contained in:
Marcus Hüwe 2009-12-04 17:41:31 +01:00
parent edc55d83ec
commit e3e32f0d2f

View File

@ -3109,7 +3109,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
p = Package('.') p = Package('.')
p.run_source_services() p.run_source_services()
descr = [ i for i in os.listdir('.') if i.endswith('.spec') or i.endswith('.dsc') ] descr = [ i for i in os.listdir('.') if i.endswith('.spec') or i.endswith('.dsc') or i.endswith('.kiwi') ]
# FIXME: # FIXME:
# * request repos from server and select by build type. # * request repos from server and select by build type.
if not arg_descr and len(descr) == 1: if not arg_descr and len(descr) == 1: