Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
vvas1lev committed Aug 12, 2024
1 parent cb52b09 commit 923035d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion napalm/ios/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -3773,7 +3773,11 @@ def _get_vlan_all_ports(self, output, _vlan_id, _vlan_name):
was_vlan_or_cont = True
p_vlan_id = p_vlan_m.group(1)
vlan_id = p_vlan_m.group(2)
vlan_name = vlans.get(vlan_id)["name"] if vlans.get(vlan_id) else p_vlan_m.group(2)
vlan_name = (
vlans.get(vlan_id)["name"]
if vlans.get(vlan_id)
else p_vlan_m.group(2)
)
interfaces = p_vlan_m.group(4) or ""

cont_m = None
Expand Down

0 comments on commit 923035d

Please sign in to comment.