1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-29 03:06:15 +01:00

- fixed do_branch

This commit is contained in:
Marcus Huewe 2010-01-19 19:15:45 +01:00
parent 39ac814169
commit aee78f6150

View File

@ -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: