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

- re-add but ignore deprecated option --skip-validation

Doing this to not brake scripts where this option is used.
This Patch is a follow-up of
568612ce "- drop hardcoded source validator executions"
which has not been released yet.
This commit is contained in:
Ruediger Meier 2011-09-10 22:56:26 +02:00 committed by Adrian Schröter
parent 27ca263d37
commit 9c004acf34

View File

@ -3687,6 +3687,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='read log message from FILE, \'-\' denotes standard input.') help='read log message from FILE, \'-\' denotes standard input.')
@cmdln.option('-f', '--force', default=False, action="store_true", @cmdln.option('-f', '--force', default=False, action="store_true",
help='ignored') help='ignored')
@cmdln.option('--skip-validation', default=False, action="store_true",
help='deprecated, don\'t use it')
@cmdln.option('-v', '--verbose', default=False, action="store_true", @cmdln.option('-v', '--verbose', default=False, action="store_true",
help='Run the source services with verbose information') help='Run the source services with verbose information')
@cmdln.option('--skip-local-service-run', default=False, action="store_true", @cmdln.option('--skip-local-service-run', default=False, action="store_true",
@ -3707,6 +3709,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
""" """
args = parseargs(args) args = parseargs(args)
if opts.skip_validation:
print >>sys.stderr, "WARNING: deprecated option --skip-validation ignored."
msg = '' msg = ''
if opts.message: if opts.message:
msg = opts.message msg = opts.message