Fix: _effective_config_file(): get root node to have the YAML tag
[deliverable/barectf.git] / barectf / config_parse.py
index 1f7efdaf11404859e03d4a1454a8f585b2d46a9d..7ebe2256115df60aa7ddbaf1f7281924f035993f 100644 (file)
@@ -77,7 +77,7 @@ def _effective_config_file(file: TextIO, with_pkg_include_dir: bool,
                            include_dirs: Optional[List[str]], ignore_include_not_found: bool,
                            indent_space_count: Count) -> str:
     config_node = _create_v3_parser(file, with_pkg_include_dir, include_dirs,
-                                    ignore_include_not_found).config_node
+                                    ignore_include_not_found).root_node
     return barectf_config_parse_common._yaml_dump(config_node, indent=indent_space_count,
                                                   default_flow_style=False, explicit_start=True,
                                                   explicit_end=True)
This page took 0.022304 seconds and 4 git commands to generate.