From 43463ced7ef6331b1d2055326df6d5a408ff7492 Mon Sep 17 00:00:00 2001 From: Dmytro Lytvynenko Date: Thu, 10 Nov 2022 04:46:49 +0200 Subject: [PATCH] Add missing import (#12624) Why I did it syseepromd in pmon crashes because of missing import in python script and doesn't get in running state How I did it Fix missing import issue to avoid python script failing How to verify it Boot system and wait till syseepromd gets into running state Which release branch to backport (provide reason below if selected) 201811 201911 202006 202012 202106 202111 202205 --- .../sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py index 5d3827e6eb..973df91750 100644 --- a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py +++ b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py @@ -4,6 +4,7 @@ try: import datetime import logging import logging.config + import thrift sys.path.append(os.path.dirname(__file__))