From 5bf083a388a52a7b4d167adcd6e8fee19f75f4bb Mon Sep 17 00:00:00 2001 From: dflynn-Nokia <60479697+dflynn-Nokia@users.noreply.github.com> Date: Mon, 21 Jun 2021 20:58:26 -0400 Subject: [PATCH] [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 --- .../sonic-platform-nokia/7215/sonic_platform/psu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/psu.py b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/psu.py index 9de9ebec36..6a338f5a16 100644 --- a/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/psu.py +++ b/platform/marvell-armhf/sonic-platform-nokia/7215/sonic_platform/psu.py @@ -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 = []