From dbdefd7223dc2334eb4efcedc3e1481ef9c32576 Mon Sep 17 00:00:00 2001 From: Rohit Thakur Date: Tue, 12 May 2020 11:20:34 +0530 Subject: fix pep8/pycodestyle E741 ambiguous variable name 'l' Signed-off-by: Rohit Thakur --- plugins/modules/vyos_vlan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/modules') 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("'") -- cgit v1.2.3