1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- do_build: --noinit and --offline are _not_ mutually exclusive

Thanks to darix for the hint!
This commit is contained in:
Marcus Huewe 2015-03-10 15:49:35 +01:00
parent cff76bdfbd
commit 7116509330

View File

@ -5664,9 +5664,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if not os.path.isdir(d):
raise oscerr.WrongOptions('Preferred package location \'%s\' is not a directory' % d)
if opts.noinit and opts.offline:
raise oscerr.WrongOptions('--noinit and --offline are mutually exclusive')
if opts.offline and opts.preload:
raise oscerr.WrongOptions('--offline and --preload are mutually exclusive')