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:
parent
cff76bdfbd
commit
7116509330
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user