[Nokia ixs7215] Platform API 2.0 improvements (#7931)

#### Why I did it
Failures observed when running the open community platform test suite (sonic-mgmt)

#### How I did it
Call PSUBase class initializer from derived class
This commit is contained in:
dflynn-Nokia 2021-06-21 20:58:26 -04:00 committed by GitHub
parent ff20e9b590
commit 5bf083a388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ class Psu(PsuBase):
"""Nokia platform-specific PSU class for 7215 """
def __init__(self, psu_index):
PsuBase.__init__(self)
# PSU is 1-based in Nokia platforms
self.index = psu_index + 1
self._fan_list = []