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 <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2023-12-08 15:42:04 +08:00
parent 5c9b85ca89
commit d9705916d1

View File

@ -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)