Skip to content

Commit

Permalink
Merge pull request #97 from pnuu/yaml-safe-loader-zipcollector
Browse files Browse the repository at this point in the history
Replace `yaml.load()` with `yaml.safe_load()` in `zipcollector_runner.py`
  • Loading branch information
mraspaud authored Oct 20, 2021
2 parents 72e5a9d + a0cf0dd commit 5e607b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/zipcollector_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_arguments():
def get_config(configfile, service, procenv):
"""Get the configuration from file."""
with open(configfile, 'r') as fp_:
config = yaml.load(fp_)
config = yaml.safe_load(fp_)

options = {}
for item in config:
Expand Down

0 comments on commit 5e607b9

Please sign in to comment.