We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ecf8de9 + ac93b67 commit a3883d3Copy full SHA for a3883d3
svdtools/patch.py
@@ -133,7 +133,10 @@ def yaml_includes(parent):
133
if not pspec.startswith("_") and "_include" in parent[pspec]:
134
parent[pspec]["_path"] = parent["_path"]
135
included += yaml_includes(parent[pspec])
136
- for relpath in parent.get("_include", []):
+ include = parent.get("_include", [])
137
+ if isinstance(include, str):
138
+ include = [include]
139
+ for relpath in include:
140
path = abspath(parent["_path"], relpath)
141
if path in included:
142
continue
0 commit comments