Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TeDomum
Amonit
Commits
cd7da17d
Commit
cd7da17d
authored
Sep 22, 2019
by
kaiyou
Browse files
Fix the yaml load deprecation warning
parent
bd1cd662
Pipeline
#265
passed with stage
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
amonit/config.py
View file @
cd7da17d
...
...
@@ -32,5 +32,5 @@ def load():
loaded
=
[{}]
for
filename
in
config_path
:
with
open
(
filename
,
"r"
)
as
handle
:
loaded
.
append
(
expand
(
yaml
.
load
(
handle
)))
loaded
.
append
(
expand
(
yaml
.
load
(
handle
,
Loader
=
yaml
.
FullLoader
)))
return
util
.
merge
(
*
loaded
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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