Skip to content

Commit a70e6cc

Browse files
committed
Update __main__.py
1 parent 0415b88 commit a70e6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party_license_file_generator/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
license_overrides = {}
132132
if args.license_override_file is not None:
133133
with codecs.open(args.license_override_file, "r", "utf-8") as f:
134-
license_overrides = yaml.load(f.read())
134+
license_overrides = yaml.load(f.read(), Loader=yaml.SafeLoader)
135135

136136
for module_name, license_override in license_overrides.items():
137137
license_name = license_override.get("license_name")

0 commit comments

Comments
 (0)