From 284fbdd41258a7104b566425af49eb25a70ee64f Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Fri, 8 Oct 2021 18:26:30 +0000 Subject: [PATCH] Fix gerrit_client py3 incompatibility R=gavinmak@google.com Bug: 1255669 Change-Id: I4fbbe9fb716a6abd58f40c9ca489a0043ee3584b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3214208 Reviewed-by: Gavin Mak Commit-Queue: Josip Sokcevic --- gerrit_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrit_client.py b/gerrit_client.py index a4ed70ccf..e83a49a98 100755 --- a/gerrit_client.py +++ b/gerrit_client.py @@ -371,7 +371,7 @@ def CMDmass_abandon(parser, args): logging.warn("[ID: %d] %s" % (change['_number'], change['subject'])) if not opt.force: - q = raw_input( + q = input( 'Do you want to move forward with abandoning? [y to confirm] ').strip() if q not in ['y', 'Y']: logging.warn("Aborting...")