Skip to content

Commit 5f13428

Browse files
author
agupta49
committed
YAML loader deprecates issue fix
1 parent c2d5185 commit 5f13428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

f5_cccl/service/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
def read_yaml(target):
3838
"""Open and read a yaml file."""
3939
with open(target, 'r') as yaml_file:
40-
yaml_data = yaml.load(yaml_file)
40+
yaml_data = yaml.load(yaml_file, Loader=yaml.FullLoader)
4141
return yaml_data
4242

4343

0 commit comments

Comments
 (0)