1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

- support building with "--alternative-project --noinit" combination of not existing package.

This commit is contained in:
Adrian Schröter 2012-04-11 11:57:03 +02:00
parent 747bca7741
commit 5703b90ca1

View File

@ -4918,7 +4918,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if not arg_repository:
raise oscerr.WrongArgs('please specify a repository')
elif not arg_repository in repositories:
elif noinit == False and not arg_repository in repositories:
raise oscerr.WrongArgs('%s is not a valid repository, use one of: %s' % (arg_repository, ', '.join(repositories)))
# can be implemented using