Commit 189d21fb authored by Mark Andrews's avatar Mark Andrews

Silence: E741 ambiguous variable name 'l'

parent 4303fa38
Pipeline #41467 passed with stages
in 28 minutes and 39 seconds
...@@ -25,5 +25,5 @@ DATAFILE = sys.argv[2] ...@@ -25,5 +25,5 @@ DATAFILE = sys.argv[2]
ARGS = [DNSTAP_READ, '-y', DATAFILE] ARGS = [DNSTAP_READ, '-y', DATAFILE]
with subprocess.Popen(ARGS, stdout=subprocess.PIPE) as f: with subprocess.Popen(ARGS, stdout=subprocess.PIPE) as f:
for l in yaml.load_all(f.stdout, Loader=yaml.SafeLoader): for y in yaml.load_all(f.stdout, Loader=yaml.SafeLoader):
pprint.pprint(l) pprint.pprint(y)
Markdown is supported
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