Skip to content

Commit

Permalink
Yaml load() replaced with save_load().
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed May 31, 2020
1 parent d4df12f commit 86f19f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trackpack/trackpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __normalize_stem_name(project_name, stem_name):

def __read_config(filename):
with open(filename, "r") as config_file:
return yaml.load(config_file, Loader=yaml.FullLoader)
return yaml.safe_load(config_file)


def main():
Expand Down

0 comments on commit 86f19f2

Please sign in to comment.