Skip to content

Commit 370c349

Browse files
authored
Fixed config-merger script to override SafeLoader to match HIML's YAML loader (#54)
1 parent 4f82bdb commit 370c349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

himl/config_merger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ def run(args=None):
158158
# load the !include tag
159159
Loader.add_constructor('!include', Loader.include)
160160

161-
# override the Yaml FullLoader with our custom loader
162-
yaml.FullLoader = Loader
161+
# override the Yaml SafeLoader with our custom loader
162+
yaml.SafeLoader = Loader
163163

164164
# extract the list of absolute paths for leaf directories
165165
dirs = get_leaf_directories(opts.path, opts.leaf_directories)

0 commit comments

Comments
 (0)