We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6debffc commit 92292a2Copy full SHA for 92292a2
sonic-xcvrd/scripts/xcvrd
@@ -300,12 +300,12 @@ def get_media_settings_value(physical_port, key):
300
if check_port_in_range(keys, physical_port):
301
media_dict = g_dict["GLOBAL_MEDIA_SETTINGS"][keys]
302
303
- # If there is a match in the global profile for a media type,
304
- # fetch those values
305
- if key[0] in media_dict:
306
- return media_dict[key[0]]
307
- elif key[1] in media_dict:
308
- return media_dict[key[1]]
+ # If there is a match in the global profile for a media type,
+ # fetch those values
+ if key[0] in media_dict:
+ return media_dict[key[0]]
+ elif key[1] in media_dict:
+ return media_dict[key[1]]
309
310
media_dict = {}
311
0 commit comments