handle sockets with no cpu installed. should fix #117 #118
1 changed files with 7 additions and 6 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
Add a link
Reference in a new issue