Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SOaAS
dbxref
Commits
03063e76
Commit
03063e76
authored
Mar 14, 2019
by
Lukas Jelonek
Browse files
Fix warning that yaml load requires loader
parent
ece359fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbxref/config.py
View file @
03063e76
...
...
@@ -9,7 +9,7 @@ def _load_providers(path):
import
yaml
data
=
[]
with
open
(
path
)
as
data_file
:
data
=
yaml
.
load
(
data_file
)
data
=
yaml
.
load
(
data_file
,
Loader
=
yaml
.
Loader
)
return
data
def
load_indexed_providers
():
...
...
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