Skip to content

Commit 571108e

Browse files
committed
tests: don't set oif to a list if it is None
Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
1 parent 569b1d4 commit 571108e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/topotests/lib/pim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ def verify_pim_rp_info(
16071607
if type(group_addresses) is not list:
16081608
group_addresses = [group_addresses]
16091609

1610-
if type(oif) is not list:
1610+
if oif is not None and type(oif) is not list:
16111611
oif = [oif]
16121612

16131613
for grp in group_addresses:

0 commit comments

Comments
 (0)