From 81d16aaad7fc3d41bad29723570ed4113bc60f64 Mon Sep 17 00:00:00 2001 From: Stephanie Kim Date: Mon, 6 May 2024 20:09:39 +0000 Subject: [PATCH] Remove <> from upload_to_google_storage_first_class output This makes it so that the output looks like {"path": {}} instead of {"": {}} This allows for easier parsing. Bug: b/328065301 Change-Id: I235e6c28fe82785d3c148c3d81e0770495962d6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5518843 Reviewed-by: Joanna Wang Commit-Queue: Stephanie Kim --- upload_to_google_storage_first_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload_to_google_storage_first_class.py b/upload_to_google_storage_first_class.py index 949a8b806..fe0812a88 100755 --- a/upload_to_google_storage_first_class.py +++ b/upload_to_google_storage_first_class.py @@ -151,7 +151,7 @@ def construct_deps_blob(bucket: str, object_name: str, file: str, generation: str) -> dict: """Output a blob hint that would need be added to a DEPS file""" return { - '': { + 'path': { 'dep_type': 'gcs', 'bucket':