Skip to content

Commit

Permalink
T6329: firewall: use isinstance() in op-mode script
Browse files Browse the repository at this point in the history
(cherry picked from commit b705adc)
  • Loading branch information
c-po authored and mergify[bot] committed May 12, 2024
1 parent 5987a9a commit 47196ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/op_mode/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def find_references(group_type, group_name):
continue

for idx, member in enumerate(members):
if type(member) == str:
if isinstance(member, str):
# Only member, and no timeout:
val = member
timeout = "N/D"
Expand Down

0 comments on commit 47196ba

Please sign in to comment.