Skip to content

Commit

Permalink
Merge branch 'yaml-load-deprecated' into update-brokers
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 2, 2020
2 parents 1b87645 + ca43026 commit 1f34e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jujuna/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def test(
if test_suite:
with open(test_suite.name, 'r') as stream:
try:
suite = yaml.load(stream)
suite = yaml.full_load(stream)
except yaml.YAMLError as exc:
log.error(exc)

Expand Down
2 changes: 1 addition & 1 deletion jujuna/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def upgrade(
try:
if settings:
with open(settings.name, 'r') as stream:
settings_data = yaml.load(stream)
settings_data = yaml.full_load(stream)
except yaml.YAMLError as e:
log.warn('Failed to load settings file: {}'.format(str(e)))

Expand Down

0 comments on commit 1f34e73

Please sign in to comment.