Avoid failing if CPU features are missing
This commit is contained in:
parent
37a58d35e8
commit
8fc5299d38
|
@ -148,8 +148,11 @@ def getDomainExtraDetails(parsed_xml):
|
|||
#
|
||||
def getDomainCPUFeatures(parsed_xml):
|
||||
dfeatures = []
|
||||
for feature in parsed_xml.features.getchildren():
|
||||
dfeatures.append(feature.tag)
|
||||
try:
|
||||
for feature in parsed_xml.features.getchildren():
|
||||
dfeatures.append(feature.tag)
|
||||
except:
|
||||
pass
|
||||
|
||||
return dfeatures
|
||||
|
||||
|
|
Loading…
Reference in New Issue