Merge "Fix passing labels to Gerrit when they are not defined in All-Projects"

This commit is contained in:
Jenkins 2017-07-27 20:17:37 +00:00 committed by Gerrit Code Review
commit c1c11241d8
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class GerritConnection(BaseConnection):
if val is True:
cmd += ' --%s' % key
else:
cmd += ' --%s %s' % (key, val)
cmd += ' --label %s=%s' % (key, val)
cmd += ' %s' % change
out, err = self._ssh(cmd)
return err