From d5aa270f99f4d7e3a3cd1b33e74f902e9d15a3c1 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 7 Jan 2025 01:27:43 +0100 Subject: [PATCH] fixup! roomservice: Migrate from GitHub API to git ls-remote Change-Id: I7a86c7d2344dd4cf1757ffea3c51c3dfc52c6e62 --- build/tools/roomservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/roomservice.py b/build/tools/roomservice.py index 5775c8cc..6e4f2ba2 100755 --- a/build/tools/roomservice.py +++ b/build/tools/roomservice.py @@ -282,7 +282,7 @@ def get_default_or_fallback_revision(repo_name): print("Default revision %s not found in %s. Bailing." % (default_revision, repo_name)) print("Branches found:") - for branch in [branch['name'] for branch in result]: + for branch in branches: print(branch) print("Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.") return ""