mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 11:48:33 +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:
parent
d672a82a19
commit
413e3c0d32
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user