handle sockets with no cpu installed.

This commit is contained in:
Thomas Davis 2020-02-20 06:46:46 -08:00
commit 4ebfc34379

View file

@ -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"]