2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 03:37:47 +00:00

Merge "Remove a cyclical reference in Lenovo OEM"

This commit is contained in:
Jenkins 2016-03-31 21:06:47 +00:00 committed by Gerrit Code Review
commit 1a7618c311

View File

@ -41,6 +41,7 @@ import pyghmi.util.webclient as wc
import socket
import struct
import weakref
inventory.register_inventory_category(cpu)
inventory.register_inventory_category(dimm)
@ -127,7 +128,7 @@ class OEMHandler(generic.OEMHandler):
# will need to retain data to differentiate
# variations. For example System X versus Thinkserver
self.oemid = oemid
self.ipmicmd = ipmicmd
self.ipmicmd = weakref.ref(ipmicmd)
self._has_megarac = None
self.oem_inventory_info = None