Fixes typos and omission in failed review list

Change-Id: I070cf06fd221a73051cbb59ac19107f0f278ed74
This commit is contained in:
Vishvananda Ishaya
2012-09-25 15:57:09 -07:00
parent e766496b0b
commit d1a1ae49eb

View File

@@ -622,6 +622,8 @@ def list_reviews(remote, branch, list_mine=False):
"project:" + project_name,
"branch:" + branch)
if status != 0:
print("Could not fetch review information from gerrit")
print(reviews)
return status
count = 0
@@ -662,7 +664,7 @@ def download_review(review, remote, masterbranch):
"change:%s" % review)
if status != 0:
print("Could not fetch review information from gerrit")
print(output)
print(reviews)
return status
try:
@@ -729,7 +731,7 @@ def open_reviews(reviews, remote, masterbranch):
(status, reviews) = run_ssh_query(remote, query)
if status != 0:
print("Could not fetch review information from gerrit")
print(output)
print(reviews)
return status
command = None