Commit cd6470d4 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix pep8

parent 3d3a5c8a
Pipeline #31843 passed with stages
in 13 minutes and 53 seconds
...@@ -83,8 +83,8 @@ class Script(BaseScript): ...@@ -83,8 +83,8 @@ class Script(BaseScript):
cmd = self.cli("show interfaces mac-address") cmd = self.cli("show interfaces mac-address")
for match in self.rx_mac1.finditer(cmd): for match in self.rx_mac1.finditer(cmd):
macs["port")] ="mac") macs["port")] ="mac")
for l in self.cli("show interfaces vlans").split("\n\n"): for line in self.cli("show interfaces vlans").split("\n\n"):
match = match =
if match: if match:
if"tagged") != "none": if"tagged") != "none":
tagged_vlans["port")] = self.expand_rangelist( tagged_vlans["port")] = self.expand_rangelist(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment