Kaynağa Gözat

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>
Stephanie Kim 1 yıl önce
ebeveyn
işleme
81d16aaad7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      upload_to_google_storage_first_class.py

+ 1 - 1
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:
                         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':