1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 12:12:11 +01:00
This commit is contained in:
Jan-Simon Möller 2010-04-17 15:19:41 +02:00
parent 7b5e9374d2
commit cbed877aa7

View File

@ -3434,11 +3434,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.noinit and opts.offline:
raise oscerr.WrongOptions('--noinit and --offline are mutually exclusive')
sys.exit(1)
if opts.offline and opts.preload:
raise oscerr.WrongOptions('--offline and --preload are mutually exclusive')
sys.exit(1)
print 'Building %s for %s/%s' % (args[2], args[0], args[1])
return osc.build.main(opts, args)