summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRohit Thakur <rohitthakur2590@outlook.com>2020-05-12 11:20:34 +0530
committerRohit Thakur <rohitthakur2590@outlook.com>2020-05-12 11:20:34 +0530
commitdbdefd7223dc2334eb4efcedc3e1481ef9c32576 (patch)
tree582cbdd0c31461c5c373031ffed0296d55e3b26c /plugins
parent178ddf295e31c326e365bf840471b7d0c010a99a (diff)
downloadvyos-ansible-old-dbdefd7223dc2334eb4efcedc3e1481ef9c32576.tar.gz
vyos-ansible-old-dbdefd7223dc2334eb4efcedc3e1481ef9c32576.zip
fix pep8/pycodestyle E741 ambiguous variable name 'l'
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/modules/vyos_vlan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/modules/vyos_vlan.py b/plugins/modules/vyos_vlan.py
index a0aafb5..04f5856 100644
--- a/plugins/modules/vyos_vlan.py
+++ b/plugins/modules/vyos_vlan.py
@@ -240,8 +240,8 @@ def map_config_to_obj(module):
output = run_commands(module, "show interfaces")
lines = output[0].strip().splitlines()[3:]
- for l in lines:
- splitted_line = re.split(r"\s{2,}", l.strip())
+ for line in lines:
+ splitted_line = re.split(r"\s{2,}", line.strip())
obj = {}
eth = splitted_line[0].strip("'")