Modified the script to use the new internal and external gerrit repositories.
BUG=None
TEST=Minimal testing done. Need to let the nightly testing test this.
Change-Id: I8273d5e90e5fb3ed96d9782cae651d4144f135dc
Reviewed-on: https://chrome-internal-review.googlesource.com/144015
Reviewed-by: Han Shen <shenhan@google.com>
Tested-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Luis Lozano <llozano@chromium.org>
diff --git a/utils/misc.py b/utils/misc.py
index f9ecb8e..adf9c54 100644
--- a/utils/misc.py
+++ b/utils/misc.py
@@ -24,7 +24,8 @@
def GetChromeOSVersionFromLSBVersion(lsb_version):
"""Get Chromeos version from Lsb version."""
ce = command_executer.GetCommandExecuter()
- command = "git ls-remote http://git.chromium.org/chromiumos/manifest.git"
+ command = ("git ls-remote "
+ "http://chromium.googlesource.com/chromiumos/manifest.git")
ret, out, _ = ce.RunCommand(command, return_output=True,
print_to_console=False)
assert ret == 0, "Command %s failed" % command
@@ -369,7 +370,7 @@
command = command + ' --cached'
if path:
command = command + ' -- ' + path
- ec, out, err = command_executer.GetCommandExecuter().RunCommand(
+ _, out, _ = command_executer.GetCommandExecuter().RunCommand(
command, return_output=True, print_to_console=False)
rv = []
for line in out.splitlines():