Fix logic error in reporting

Change-Id: I0444353eb753387fd792605371ad25ffe0e8990e
This commit is contained in:
James E. Blair 2012-05-30 11:59:58 -07:00
parent 816e7e2446
commit 0903a4227c
1 changed files with 1 additions and 1 deletions

View File

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