Skip to content

Commit

Permalink
Explicitly set loader to avoid warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff O'Callaghan <[email protected]>
  • Loading branch information
gocallag authored and sandrobonazzola committed Feb 24, 2025
1 parent 482a58b commit 30dc0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine-appliance/scripts/renderks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
args = parser.parse_args()

with open(os.path.join(args.data_dir, "distro-defs.yml")) as f:
data = yaml.load(f)[args.DISTRO]
data = yaml.load(f,yaml.SafeLoader)[args.DISTRO]

env = Environment(loader=FileSystemLoader(searchpath=args.data_dir))
template = env.get_template("ovirt-engine-appliance.j2")
Expand Down

0 comments on commit 30dc0a8

Please sign in to comment.