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

Fix FPC detection for Lenovo Nextscale

Removing the errant FPC id messed up detection of
real FPCs.  Fix the mistake.

Change-Id: I3fb23979429c98e5c20d5c54dbe915175b670ed4
This commit is contained in:
Jarrod Johnson 2016-05-25 16:29:04 -04:00
parent d672a82a19
commit 413e3c0d32

View File

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