Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utilities_common/platform_sfputil_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ def is_rj45_port(port_name):
if not platform_porttab_mapping_read:
platform_sfputil_read_porttab_mappings()

physical_port = logical_port_name_to_physical_port_list(port_name)[0]
try:
physical_port = logical_port_name_to_physical_port_list(port_name)
port_type = platform_chassis.get_port_or_cage_type(physical_port)
except NotImplementedError as e:
except Exception as e:
port_type = None

return port_type == platform_sfp_base.SFP_PORT_TYPE_BIT_RJ45
Expand Down