Skip to content

Commit

Permalink
[intfutil]: Fix python indentation (sonic-net#166)
Browse files Browse the repository at this point in the history
Signed-off-by: Shu0T1an ChenG <[email protected]>
  • Loading branch information
Shuotian Cheng authored Dec 8, 2017
1 parent cc147b9 commit 1c680b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/intfutil
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def db_port_status_get(db, intf_name, status_type):
if status is None:
return "N/A"

if status_type == PORT_SPEED and status != "N/A":
if status_type == PORT_SPEED and status != "N/A":
status = '{}G'.format(status[:2] if int(status) < 100000 else status[:3])

return status
Expand Down

0 comments on commit 1c680b4

Please sign in to comment.