mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu-cpuid: Shorten overly long line
flake8 was complaining. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
37ffe24968
commit
9d25f2fe16
@ -158,8 +158,9 @@ def parseMap():
|
|||||||
cpuMap = {}
|
cpuMap = {}
|
||||||
for feature in data["cpus"]["feature"]:
|
for feature in data["cpus"]["feature"]:
|
||||||
for fType in ["cpuid", "msr"]:
|
for fType in ["cpuid", "msr"]:
|
||||||
if fType in feature:
|
if fType not in feature:
|
||||||
cpuMap[feature["@name"]] = parseMapFeature(fType, feature[fType])
|
continue
|
||||||
|
cpuMap[feature["@name"]] = parseMapFeature(fType, feature[fType])
|
||||||
|
|
||||||
return cpuMap
|
return cpuMap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user