From c9c8e90c3a64145675b89edc945e2f21c86dfe08 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 11 Dec 2017 15:28:08 +0530 Subject: close-old-reviews: fix the space problem in printing URL Change-Id: I46b6274791c0771e5939b26fc8f3c065e2548c2c Signed-off-by: Amar Tumballi --- build-gluster-org/scripts/close-old-reviews.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-gluster-org/scripts/close-old-reviews.py b/build-gluster-org/scripts/close-old-reviews.py index cf131e1..efc69e1 100644 --- a/build-gluster-org/scripts/close-old-reviews.py +++ b/build-gluster-org/scripts/close-old-reviews.py @@ -38,8 +38,8 @@ def close_reviews(change_ids): } username = os.environ.get('HTTP_USERNAME') password = os.environ.get('HTTP_PASSWORD') - print("Attempting to close review: ", "https://review.gluster.org/", - change['_number'], + print("Attempting to close review: ", "https://review.gluster.org/" + + format(change['_number']), " -- Title: ", change['subject']) response = requests.post(url, auth=(username, password), json=data) -- cgit