From d9705916d19a91d52926fb67eebbae1237d7cc15 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 8 Dec 2023 15:42:04 +0800 Subject: [PATCH] iutils.py: fix typo for upstream url 'urstx_mirror' doesn't exist and was introduced in previous commit. Closes-bug: 2044987 Change-Id: I020acd6c8fb0c0aab0911542f8f1af4d27be9b2c Signed-off-by: Jackie Huang --- build-tools/stx/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/stx/utils.py b/build-tools/stx/utils.py index e430101b..b8a85844 100755 --- a/build-tools/stx/utils.py +++ b/build-tools/stx/utils.py @@ -196,7 +196,7 @@ def get_download_url(url, strategy): if strategy == "stx_mirror": rt_url = stx_mirror_url elif strategy == "upstream": - rt_url = urstx_mirror + rt_url = url elif strategy == "stx_mirror_first": try: urllib.request.urlopen(stx_mirror_url)