Skip to content

Commit

Permalink
Fix Auto-CL yaml issues (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlyra authored Oct 29, 2023
1 parent 53b973a commit b511103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/changelog/generate_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@

write_cl['delete-after'] = True

yaml = yaml.YAML(typ="safe", pure=True)
with open(Path.cwd().joinpath("tools/changelog/tags.yml")) as file:
tags = yaml.safe_load(file)
tags = yaml.load(file)

write_cl['changes'] = []

Expand All @@ -112,7 +113,6 @@

if write_cl['changes']:
with io.StringIO() as cl_contents:
yaml = yaml.YAML()
yaml.indent(sequence=4, offset=2)
yaml.dump(write_cl, cl_contents)
cl_contents.seek(0)
Expand Down

0 comments on commit b511103

Please sign in to comment.