Skip to content

Commit

Permalink
add indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
  • Loading branch information
vdahiya12 committed Sep 10, 2024
1 parent 1a79116 commit 8290b0d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions show/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,10 +681,8 @@ def fetch_fec_histogram(port_oid_map, target_port):

if asic_db_kvp is not None:

fec_errors = {
f'BIN{i}': asic_db_kvp.get(f'SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S{i}', '0')
for i in range(16)
}
fec_errors = {f'BIN{i}': asic_db_kvp.get
(f'SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S{i}', '0') for i in range(16)}

# Prepare the data for tabulation
table_data = [(bin_label, error_value) for bin_label, error_value in fec_errors.items()]
Expand Down

0 comments on commit 8290b0d

Please sign in to comment.