diff options
author | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-05-12 11:20:34 +0530 |
---|---|---|
committer | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-05-12 11:20:34 +0530 |
commit | dbdefd7223dc2334eb4efcedc3e1481ef9c32576 (patch) | |
tree | 582cbdd0c31461c5c373031ffed0296d55e3b26c /plugins | |
parent | 178ddf295e31c326e365bf840471b7d0c010a99a (diff) | |
download | vyos-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.py | 4 |
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("'") |