1
0
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:
Dirk Mueller 2012-01-05 14:37:09 +01:00 committed by Dirk Mueller
parent 285dc40a8a
commit 836423d2cf

View File

@ -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.')