Skip to content

Commit

Permalink
- do_build: --noinit and --offline are _not_ mutually exclusive
Browse files Browse the repository at this point in the history
Thanks to darix for the hint!
  • Loading branch information
marcus-h committed Mar 10, 2015
1 parent cff76bd commit 7116509
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5664,9 +5664,6 @@ def do_build(self, subcmd, opts, *args):
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')

Expand Down

0 comments on commit 7116509

Please sign in to comment.