We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd7781b commit 5a13e0bCopy full SHA for 5a13e0b
scripts/sfpshow
@@ -141,7 +141,7 @@ class SFPShow(object):
141
ident = ' '
142
seperator = ": "
143
for key in sorted_key_table:
144
- if dom_info_dict is not None and dom_info_dict[key] != 'N/A':
+ if dom_info_dict is not None and key in dom_info_dict and dom_info_dict[key] != 'N/A':
145
current_val = (ident + ident +
146
dom_value_map[key])
147
current_val = (current_val + seperator.rjust(len(seperator) +
0 commit comments