Skip to content

Commit

Permalink
tools/psoc6/get-devs.py: Fixed literals comparison rule.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <[email protected]>
  • Loading branch information
jaenrig-ifx committed Feb 27, 2025
1 parent d92fe5f commit de2ed24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/psoc6/get-devs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_kitprog_serial_number(udevadm_output_lines):
kitprog_devs = []
dev_list = get_ttyACM_dev_list()

if dev_list is not []:
if dev_list != []:
for dev in dev_list:
udevadm_output_lines = get_udevadm_port_attrs_output(dev)
if is_kitprog_device(udevadm_output_lines):
Expand Down

0 comments on commit de2ed24

Please sign in to comment.