commit | 3f5ac9f010f58109c2a286693daac3e123cfe37d | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Tue Jul 07 12:33:07 2020 +0100 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Tue Jul 07 14:26:47 2020 +0100 |
tree | 1a4fd4b5e24240e64f53176db220f6ffbba1a1e9 | |
parent | 6567b7cf01556181bf577362cc9015f17597e828 [diff] |
[primgen] Use SafeDumper for YAML We did import this dumper, but didn't use it. Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip/prim/util/primgen.py b/hw/ip/prim/util/primgen.py index f8e3705..f601d50 100755 --- a/hw/ip/prim/util/primgen.py +++ b/hw/ip/prim/util/primgen.py
@@ -378,7 +378,8 @@ f, encoding="utf-8", default_flow_style=False, - sort_keys=False) + sort_keys=False, + Dumper=YamlDumper) print("Core file written to %s" % (abstract_prim_core_filepath, ))