Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
synergy
o3skim
Commits
7a269dc0
Commit
7a269dc0
authored
Nov 13, 2020
by
valentin.kozlov
Committed by
BorjaEst
Nov 17, 2020
Browse files
update from yaml.load to yaml.safe_load
parent
78e9e79e
Changes
1
Hide whitespace changes
Inline
Side-by-side
o3skim/utils.py
View file @
7a269dc0
...
...
@@ -66,7 +66,7 @@ def load(yaml_file):
:rtype: dict
"""
with
open
(
yaml_file
,
"r"
)
as
ymlfile
:
config
=
yaml
.
load
(
ymlfile
)
config
=
yaml
.
safe_
load
(
ymlfile
)
logging
.
debug
(
"Configuration data: %s"
,
config
)
return
config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment