summaryrefslogtreecommitdiff
path: root/kvmd/yamlconf
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-06-06 05:09:10 +0300
committerDevaev Maxim <[email protected]>2020-06-06 05:09:10 +0300
commit4f3ebf0fd1100d2076a626d9ae39f414e9adf90b (patch)
tree2b20fd7903798311f6dddf3bcdba8a510a8bb9f1 /kvmd/yamlconf
parenta59aa68f42cf96f7e1d85e406b8691af4abe0541 (diff)
fix
Diffstat (limited to 'kvmd/yamlconf')
-rw-r--r--kvmd/yamlconf/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/yamlconf/loader.py b/kvmd/yamlconf/loader.py
index 437d9c4a..53607d8f 100644
--- a/kvmd/yamlconf/loader.py
+++ b/kvmd/yamlconf/loader.py
@@ -44,7 +44,7 @@ class _YamlLoader(yaml.SafeLoader):
super().__init__(yaml_file)
self.__root = os.path.dirname(yaml_file.name)
- def include(self, node: yaml.nodes.Node) -> str:
+ def include(self, node: yaml.nodes.Node) -> Any:
path = os.path.join(self.__root, self.construct_scalar(node))
return load_yaml_file(path)