diff --git a/bin/tests/system/dnstap/ydump.py b/bin/tests/system/dnstap/ydump.py index e199effca4409f15664fe7f089fdde0543ebe131..c1c260245928268c2dbf2b6758629daa4eda42f7 100644 --- a/bin/tests/system/dnstap/ydump.py +++ b/bin/tests/system/dnstap/ydump.py @@ -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)