From aee78f6150391c165bfdbe890c32dbdb5e99113a Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 19 Jan 2010 19:15:45 +0100 Subject: [PATCH] - fixed do_branch --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index b8160cc2..fd130bd7 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1619,9 +1619,9 @@ Please submit there instead, or use --nodevelproject to force direct submission. # python has no args.unshift ??? args = [ conf.config['getpac_default_project'] , args[0] ] - expected = 'home:%s:branches:%s' % (conf.config['user'], args[0]) if not (len(args) >= 2 and len(args) <= 4): raise oscerr.WrongArgs('Wrong number of arguments.') + expected = 'home:%s:branches:%s' % (conf.config['user'], args[0]) if len(args) >= 3: expected = tproject = args[2] if len(args) >= 4: