Skip to content

Commit 36b9748

Browse files
yaml full_load
1 parent 77bc40a commit 36b9748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ def get_function_config(cfg):
704704

705705

706706
def read_cfg(path_to_config_file, profile_name):
707-
cfg = read(path_to_config_file, loader=yaml.load)
707+
cfg = read(path_to_config_file, loader=yaml.full_load)
708708
if profile_name is not None:
709709
cfg['profile'] = profile_name
710710
elif 'AWS_PROFILE' in os.environ:

0 commit comments

Comments
 (0)