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:
parent
5c9b85ca89
commit
d9705916d1
@ -196,7 +196,7 @@ def get_download_url(url, strategy):
|
|||||||
if strategy == "stx_mirror":
|
if strategy == "stx_mirror":
|
||||||
rt_url = stx_mirror_url
|
rt_url = stx_mirror_url
|
||||||
elif strategy == "upstream":
|
elif strategy == "upstream":
|
||||||
rt_url = urstx_mirror
|
rt_url = url
|
||||||
elif strategy == "stx_mirror_first":
|
elif strategy == "stx_mirror_first":
|
||||||
try:
|
try:
|
||||||
urllib.request.urlopen(stx_mirror_url)
|
urllib.request.urlopen(stx_mirror_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user