Skip to content

Commit

Permalink
set yaml safe load
Browse files Browse the repository at this point in the history
  • Loading branch information
luigibonati committed Nov 15, 2022
1 parent 964656f commit 4a23f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/scripts/create_conda_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# YAML imports
try:
import yaml # PyYAML
loader = yaml.load
loader = yaml.safe_load
except ImportError:
try:
import ruamel_yaml as yaml # Ruamel YAML
Expand Down

0 comments on commit 4a23f6f

Please sign in to comment.