From 8050d06bbbb6191ef9bcfa2259cb060a721720b3 Mon Sep 17 00:00:00 2001 From: Adrian Costean Date: Wed, 25 May 2022 15:12:40 +0300 Subject: [PATCH] Replaced yaml.load() with yaml.full_load() --- docs/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/generator.py b/docs/generator.py index c75786e2..e6adb5ca 100644 --- a/docs/generator.py +++ b/docs/generator.py @@ -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')),