From d1a1ae49ebbe7b292b235a3e5f73c74543b2de81 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Tue, 25 Sep 2012 15:57:09 -0700 Subject: [PATCH] Fixes typos and omission in failed review list Change-Id: I070cf06fd221a73051cbb59ac19107f0f278ed74 --- git-review | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/git-review b/git-review index 15026f5..6951562 100755 --- a/git-review +++ b/git-review @@ -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