mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-09 22:06:47 +00:00
Bugfix with S3_URLs detection.
This commit is contained in:
parent
6bcb99b0c0
commit
c824d9c46b
@ -44,7 +44,7 @@ class DownloadResult(TclResult):
|
|||||||
self.fileurl = file.find("DOWNLOAD_URL").text
|
self.fileurl = file.find("DOWNLOAD_URL").text
|
||||||
s3_fileurl_node = file.find("S3_DOWNLOAD_URL")
|
s3_fileurl_node = file.find("S3_DOWNLOAD_URL")
|
||||||
self.s3_fileurl = None
|
self.s3_fileurl = None
|
||||||
if s3_fileurl_node:
|
if s3_fileurl_node is not None:
|
||||||
self.s3_fileurl = s3_fileurl_node.text
|
self.s3_fileurl = s3_fileurl_node.text
|
||||||
slave_list = root.find("SLAVE_LIST").findall("SLAVE")
|
slave_list = root.find("SLAVE_LIST").findall("SLAVE")
|
||||||
enc_list = root.find("SLAVE_LIST").findall("ENCRYPT_SLAVE")
|
enc_list = root.find("SLAVE_LIST").findall("ENCRYPT_SLAVE")
|
||||||
|
Loading…
Reference in New Issue
Block a user