Commit b9024e06 authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch 'marka-silence-pyyaml-warning-v9_11' into 'v9_11'

Silence PyYAML warning

See merge request !3770
parents 66c93907 74a73842
Pipeline #45600 passed with stages
in 4 minutes and 38 seconds
......@@ -25,5 +25,5 @@ DATAFILE = sys.argv[2]
ARGS = [DNSTAP_READ, '-y', DATAFILE]
with subprocess.Popen(ARGS, stdout=subprocess.PIPE) as f:
for y in yaml.load_all(f.stdout):
for y in yaml.load_all(f.stdout, Loader=yaml.SafeLoader):
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