aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/utils.py
diff options
context:
space:
mode:
authorGravatar Jonathan Metzman <metzman@chromium.org>2021-01-20 06:51:23 -0800
committerGravatar Jonathan Metzman <metzman@chromium.org>2021-01-20 06:51:30 -0800
commitcb262dfbcb8abfb060c3e5560102cea7661eb876 (patch)
tree60848b3c413a709a1eb6575f79b5a81899757bd0 /infra/utils.py
parent2ce7db4d47525c1996f813da6e8da1324e1ab414 (diff)
fmt/lnt
Diffstat (limited to 'infra/utils.py')
-rw-r--r--infra/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/utils.py b/infra/utils.py
index c4ffc282..795fbcdd 100644
--- a/infra/utils.py
+++ b/infra/utils.py
@@ -157,5 +157,5 @@ def url_join(*url_parts):
def gs_url_to_https(url):
- url = url.replace('gs://', '')
- return url_join(GCS_BASE_URL, url)
+ """Converts |url| from a GCS URL (beginning with 'gs://') to an HTTPS one."""
+ return url.replace('gs://', GCS_BASE_URL)