Skip to content

Commit a4fe681

Browse files
authored
fix missing import error (#12511)
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
1 parent 558c904 commit a4fe681

File tree

1 file changed

+1
-1
lines changed
  • platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform

1 file changed

+1
-1
lines changed

platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/eeprom.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def tlv_eeprom_get(client):
6060
try:
6161
self._eeprom_bin = bytearray.fromhex(
6262
thrift_try(tlv_eeprom_get, 1).raw_content_hex)
63-
except TApplicationException as e:
63+
except thrift.Thrift.TApplicationException as e:
6464
raise RuntimeError("api is not supported")
6565
except Exception as e:
6666
self._eeprom_bin = bytearray.fromhex(

0 commit comments

Comments
 (0)