Skip to content

Commit

Permalink
Merge pull request #137 from costeanadrian/fix_yaml_load
Browse files Browse the repository at this point in the history
Replaced yaml.load() with yaml.full_load()
  • Loading branch information
kalinindenys committed May 26, 2022
2 parents b3d51e0 + 8050d06 commit 40ca41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def generate_doc_files(self, dest_dir):
module_name = os.path.splitext(module_filename)[0]
module = importlib.import_module(module_name)

module_docs = yaml.load(module.DOCUMENTATION)
module_docs = yaml.full_load(module.DOCUMENTATION)
module_spec = ModuleSpec(
name=module_name,
short_description=self._doc_to_text(module_docs.get('short_description')),
Expand Down

0 comments on commit 40ca41c

Please sign in to comment.