2
0
mirror of https://opendev.org/x/pyghmi synced 2026-08-28 17:46:44 +00:00

Discard disused webclient

In some environments, this was keeping a stale file
descriptor alive.

Change-Id: Iad94c9dc6a7bb46dce6d7597e1639e127363c5b9
This commit is contained in:
Jarrod Johnson
2021-08-31 15:48:01 -04:00
parent 9d548ce378
commit 2f1fc1e0d9
+2
View File
@@ -1544,6 +1544,8 @@ class XCCClient(IMMClient):
self.fwo = None
if self._keepalivesession:
self._refresh_token_wc(self._keepalivesession)
elif self._wc:
self._wc = None
def fetch_psu_firmware(self):
psudata = self.get_cached_data('lenovo_cached_psu')