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

fix handling of --attribute in mbranch

This commit is contained in:
Dirk Mueller 2012-01-05 11:27:22 +01:00 committed by Dirk Mueller
parent dba42e5aa5
commit 285dc40a8a

View File

@ -2697,6 +2697,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
tproject = None
maintained_attribute = conf.config['maintained_attribute']
if opts.attribute:
maintained_attribute = opts.attribute
maintained_update_project_attribute = conf.config['maintained_update_project_attribute']
if not len(args) or len(args) > 2: