mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
tests: devtest: Fix YAML dumper
This was using a baseloader for dumping. It is modified to use a safe dumper.
This commit is contained in:
parent
f0cc0b46c9
commit
9fb2a5dfc2
@ -31,7 +31,7 @@ try:
|
|||||||
|
|
||||||
def yaml_dump(data, stream):
|
def yaml_dump(data, stream):
|
||||||
"""Dumps data to a file."""
|
"""Dumps data to a file."""
|
||||||
yaml = YAML(typ="base", pure=True)
|
yaml = YAML(typ="safe", pure=True)
|
||||||
yaml.default_flow_style = False
|
yaml.default_flow_style = False
|
||||||
yaml.dump(data, stream)
|
yaml.dump(data, stream)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user