From 413e3c0d3252af6d4e36fe2be54f580801021f7a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 25 May 2016 16:29:04 -0400 Subject: [PATCH] Fix FPC detection for Lenovo Nextscale Removing the errant FPC id messed up detection of real FPCs. Fix the mistake. Change-Id: I3fb23979429c98e5c20d5c54dbe915175b670ed4 --- pyghmi/ipmi/oem/lenovo/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index 74229240..de4fcc38 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -267,7 +267,7 @@ class OEMHandler(generic.OEMHandler): def is_fpc(self): """True if the target is a Lenovo nextscale fan power controller """ - fpc_ids = ((19046, 32, 1063)) + fpc_ids = ((19046, 32, 1063),) return (self.oemid['manufacturer_id'], self.oemid['device_id'], self.oemid['product_id']) in fpc_ids