diff --git a/tools/changelog/generate_cl.py b/tools/changelog/generate_cl.py index 4fde5a3543ae8..96b2bb8d03a01 100644 --- a/tools/changelog/generate_cl.py +++ b/tools/changelog/generate_cl.py @@ -70,7 +70,7 @@ write_cl['delete-after'] = True -yaml = yaml.YAML(type='safe',pure=True) +yaml = yaml.YAML(typ='safe',pure=True) with open(Path.cwd().joinpath("tools/changelog/tags.yml")) as file: tags = yaml.load(file) diff --git a/tools/changelog/sierra_check_changelog.py b/tools/changelog/sierra_check_changelog.py index 3a321f065d74c..7806ff5c12c41 100644 --- a/tools/changelog/sierra_check_changelog.py +++ b/tools/changelog/sierra_check_changelog.py @@ -73,7 +73,7 @@ if not write_cl['author']: print("There are spaces or tabs instead of author username") -yaml = yaml.YAML(type='safe',pure=True) +yaml = yaml.YAML(typ='safe',pure=True) with open(Path.cwd().joinpath("tags.yml")) as file: tags = yaml.load(file)