From 774a733a48403e78d3e3a7ef3086dff27b3900a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Sat, 24 Feb 2024 00:08:15 +0200 Subject: [PATCH] Fixed ruamel.yaml deprecation warning --- src/asphalt/core/_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asphalt/core/_cli.py b/src/asphalt/core/_cli.py index 8fc35c65..38acab59 100644 --- a/src/asphalt/core/_cli.py +++ b/src/asphalt/core/_cli.py @@ -56,7 +56,7 @@ def main() -> None: help="set configuration", ) def run(configfile, service: str | None, set_: list[str]) -> None: - yaml = YAML(typ="unsafe") + yaml = YAML() yaml.constructor.add_constructor("!Env", env_constructor) yaml.constructor.add_constructor("!TextFile", text_file_constructor) yaml.constructor.add_constructor("!BinaryFile", binary_file_constructor)