Remove <> from upload_to_google_storage_first_class output

This makes it so that the output looks like
{"path": {}} instead of {"<path>": {}}

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 <jojwang@chromium.org>
Commit-Queue: Stephanie Kim <kimstephanie@google.com>
changes/43/5518843/3
Stephanie Kim 12 months ago committed by LUCI CQ
parent 94f42f8fe3
commit 81d16aaad7

@ -151,7 +151,7 @@ def construct_deps_blob(bucket: str, object_name: str, file: str,
generation: str) -> dict: generation: str) -> dict:
"""Output a blob hint that would need be added to a DEPS file""" """Output a blob hint that would need be added to a DEPS file"""
return { return {
'<path>': { 'path': {
'dep_type': 'dep_type':
'gcs', 'gcs',
'bucket': 'bucket':

Loading…
Cancel
Save