mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 13:31:48 +01:00
fix handling of -u parameter in mbranch
This commit is contained in:
parent
285dc40a8a
commit
836423d2cf
@ -2700,6 +2700,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if opts.attribute:
|
||||
maintained_attribute = opts.attribute
|
||||
maintained_update_project_attribute = conf.config['maintained_update_project_attribute']
|
||||
if opts.update_project_attribute:
|
||||
maintained_update_project_attribute = opts.update_project_attribute
|
||||
|
||||
if not len(args) or len(args) > 2:
|
||||
raise oscerr.WrongArgs('Wrong number of arguments.')
|
||||
|
Loading…
Reference in New Issue
Block a user