Silence: E741 ambiguous variable name 'l'

This commit is contained in:
Mark Andrews
2020-05-12 17:41:41 +10:00
parent 4303fa3880
commit 189d21fb96

View File

@@ -25,5 +25,5 @@ DATAFILE = sys.argv[2]
ARGS = [DNSTAP_READ, '-y', DATAFILE]
with subprocess.Popen(ARGS, stdout=subprocess.PIPE) as f:
for l in yaml.load_all(f.stdout, Loader=yaml.SafeLoader):
pprint.pprint(l)
for y in yaml.load_all(f.stdout, Loader=yaml.SafeLoader):
pprint.pprint(y)