Skip to content

Commit

Permalink
Fixed ruamel.yaml deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Feb 23, 2024
1 parent a5822ac commit 774a733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asphalt/core/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 774a733

Please sign in to comment.