File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -265,14 +265,14 @@ def convert_sfp_info_to_output_string(sfp_info_dict):
265
265
else :
266
266
output += '{}{}:\n ' .format (indent , QSFP_DATA_MAP ['specification_compliance' ])
267
267
268
- spec_compliance_dict = {}
269
- try :
270
- spec_compliance_dict = ast .literal_eval (sfp_info_dict ['specification_compliance' ])
271
- sorted_compliance_key_table = natsorted (spec_compliance_dict )
272
- for compliance_key in sorted_compliance_key_table :
273
- output += '{}{}: {}\n ' .format ((indent * 2 ), compliance_key , spec_compliance_dict [compliance_key ])
274
- except ValueError as e :
275
- output += '{}N/A\n ' .format ((indent * 2 ))
268
+ spec_compliance_dict = {}
269
+ try :
270
+ spec_compliance_dict = ast .literal_eval (sfp_info_dict ['specification_compliance' ])
271
+ sorted_compliance_key_table = natsorted (spec_compliance_dict )
272
+ for compliance_key in sorted_compliance_key_table :
273
+ output += '{}{}: {}\n ' .format ((indent * 2 ), compliance_key , spec_compliance_dict [compliance_key ])
274
+ except ValueError as e :
275
+ output += '{}N/A\n ' .format ((indent * 2 ))
276
276
else :
277
277
output += '{}{}: {}\n ' .format (indent , QSFP_DATA_MAP [key ], sfp_info_dict [key ])
278
278
You can’t perform that action at this time.
0 commit comments