parent
5590f39131
commit
dc4f90d490
1 changed files with 8 additions and 7 deletions
|
|
@ -103,13 +103,14 @@ class LSHW():
|
||||||
self.disks.append(d)
|
self.disks.append(d)
|
||||||
|
|
||||||
def find_cpus(self, obj):
|
def find_cpus(self, obj):
|
||||||
c = {}
|
if "product" in obj:
|
||||||
c["product"] = obj["product"]
|
c = {}
|
||||||
c["vendor"] = obj["vendor"]
|
c["product"] = obj["product"]
|
||||||
c["description"] = obj["description"]
|
c["vendor"] = obj["vendor"]
|
||||||
c["location"] = obj["slot"]
|
c["description"] = obj["description"]
|
||||||
|
c["location"] = obj["slot"]
|
||||||
|
|
||||||
self.cpus.append(c)
|
self.cpus.append(c)
|
||||||
|
|
||||||
def find_memories(self, obj):
|
def find_memories(self, obj):
|
||||||
if "children" not in obj:
|
if "children" not in obj:
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue