From 6a6fef6a50b2dd2a07e2bf37e53e533d81e4e560 Mon Sep 17 00:00:00 2001 From: Gerwin Klein Date: Thu, 11 Jul 2024 14:01:25 +1000 Subject: [PATCH] tools/context: use yaml instead of pyaml According to the sel4-deps 0.4.0 commit message, we don't want Pretty Yaml (pyaml), but just `yaml` instead. For here, this should be true. Signed-off-by: Gerwin Klein --- tools/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/context.py b/tools/context.py index 579fe7f4..31a2b341 100644 --- a/tools/context.py +++ b/tools/context.py @@ -10,7 +10,7 @@ import os import stat from pickle import dumps -import pyaml +import yaml from jinja2 import pass_context from . import macros @@ -390,7 +390,7 @@ def write_manifest(context, manifest='manifest.yaml', allocator="allocators.pick data = {"cap_symbols": stash.cap_symbols, "region_symbols": stash.region_symbols} - manifest_file.write(pyaml.dump(data)) + manifest_file.write(yaml.dump(data)) allocator_file.write(dumps(stash.allocator_state)) return ""