Skip to content

Commit

Permalink
fix some syntax
Browse files Browse the repository at this point in the history
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
  • Loading branch information
vdahiya12 committed Mar 29, 2021
1 parent a81c943 commit e12a491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/muxcable.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ def download(fwfile, port):

status = perform_download_firmware(physical_port, fwfile)

if !status:
if status is not True:
rc = False

if rc:
Expand Down Expand Up @@ -810,7 +810,7 @@ def activate(port):
physical_port = physical_port_list[0]
status = perform_activate_firmware(physical_port, fwfile)

if !status:
if status is not True:
rc = False

if rc:
Expand Down Expand Up @@ -859,7 +859,7 @@ def rollback(port):
physical_port = physical_port_list[0]
status = perform_rollback_firmware(physical_port, fwfile)

if !status:
if status is not True:
rc = False

if rc:
Expand Down

0 comments on commit e12a491

Please sign in to comment.