Fix logic error in reporting
Change-Id: I0444353eb753387fd792605371ad25ffe0e8990e
This commit is contained in:
parent
816e7e2446
commit
0903a4227c
|
@ -123,7 +123,7 @@ class Gerrit(object):
|
|||
cmd = 'gerrit review --project %s --message "%s"' % (
|
||||
project, message)
|
||||
for k,v in action.items():
|
||||
if v == True:
|
||||
if v is True:
|
||||
cmd += ' --%s' % k
|
||||
else:
|
||||
cmd += ' --%s %s' % (k, v)
|
||||
|
|
Loading…
Reference in New Issue