sonic-buildimage/platform/mellanox/mlnx-platform-api
Kebo Liu 5ec164b694 [Mellanox] [platform API] Fix “local variable 'label_port' referenced before assignment” error (#6419)
In rare case can see that xcvrd failed due to "UnboundLocalError: local variable 'label_port' referenced before assignment"

Init "label_port" as None at the beginning of the function, to avoid the case that "label_port" not assigned.
2021-02-18 18:10:54 -08:00
..
sonic_platform [Mellanox] [platform API] Fix “local variable 'label_port' referenced before assignment” error (#6419) 2021-02-18 18:10:54 -08:00
tests [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
.gitignore [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
pytest.ini [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.cfg [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00