Revert "Migrate to the HTTP interface for interacting with gerrit."
This reverts CL:56868.
BUG=219617
TEST=none
Change-Id: Ie40867451a6dcbc37891f1f00c5e5097f890b04e
Reviewed-on: https://gerrit.chromium.org/gerrit/60127
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index 92282bd..3da6a21 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -313,7 +313,7 @@
opts.internal = True
args[1] = args[1][1:]
- opts.gerrit = gerrit.GetGerritHelper(
+ opts.gerrit = gerrit.GerritHelper.FromRemote(
constants.INTERNAL_REMOTE if opts.internal else constants.EXTERNAL_REMOTE,
print_cmd=opts.debug)