From 836423d2cf5574ea60bb45eb5fd19c0eb3cb6383 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 5 Jan 2012 14:37:09 +0100 Subject: [PATCH] fix handling of -u parameter in mbranch --- osc/commandline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py index bd3321af..3230d900 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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.')