Quote group names in case of spaces
* gerritlib/gerrit.py(Gerrit.createGroup): Quote the group name in the API call so that Gerrit won't get confused by spaces. Change-Id: Iad7110bedc2b5b4090313fd70679f0552292a807
This commit is contained in:
parent
996343b115
commit
82df224c39
@ -187,7 +187,7 @@ class Gerrit(object):
|
||||
cmd = '%s --visible-to-all' % cmd
|
||||
if owner:
|
||||
cmd = '%s --owner %s' % (cmd, owner)
|
||||
cmd = '%s %s' % (cmd, group)
|
||||
cmd = '%s "%s"' % (cmd, group)
|
||||
out, err = self._ssh(cmd)
|
||||
return err
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user