mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- do_submitrequest: --cleanup and --no-cleanup are mutually exclusive
This commit is contained in:
parent
f77ab86010
commit
94836bcbf7
@ -743,6 +743,9 @@ class Osc(cmdln.Cmdln):
|
||||
${cmd_option_list}
|
||||
"""
|
||||
|
||||
if opts.cleanup and opts.no_cleanup:
|
||||
raise oscerr.WrongOptions('\'--cleanup\' and \'--no-cleanup\' are mutually exclusive')
|
||||
|
||||
src_update = conf.config['submitrequest_on_accept_action'] or None
|
||||
# we should check here for home:<id>:branch and default to update, but that would require OBS 1.7 server
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user