handle sockets with no cpu installed.
This commit is contained in:
parent
a5bc16d3b1
commit
4ebfc34379
1 changed files with 8 additions and 7 deletions
|
|
@ -103,6 +103,7 @@ class LSHW():
|
|||
self.disks.append(d)
|
||||
|
||||
def find_cpus(self, obj):
|
||||
if "product" in obj:
|
||||
c = {}
|
||||
c["product"] = obj["product"]
|
||||
c["vendor"] = obj["vendor"]
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue