From e189c43f73b88f399aed24d2601953099add9fcb Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 28 Sep 2015 11:43:28 -0400 Subject: [PATCH] Fix attempt to fetch firmware on System X Return empty iterable if System X to be consistent with generic for now. Change-Id: Id08dd7fa0d18aa69aec1f0389226f67935d81bde --- pyghmi/ipmi/oem/lenovo/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index 1f305726..f1c1904b 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -328,6 +328,7 @@ class OEMHandler(generic.OEMHandler): command = firmware.get_categories()["firmware"] rsp = self.ipmicmd.xraw_command(**command["command"]) return command["parser"](rsp["data"]) + return () def get_oem_capping_enabled(self): if self.has_tsm: