Skip to content

Commit

Permalink
Switching to unsafe_load for loading Remotes from YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
mwatts15 committed Feb 17, 2021
1 parent 1ae03c8 commit 25294ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion owmeta_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"""

from __future__ import print_function
__version__ = '0.13.1'
__version__ = '0.13.2'
__author__ = 'OpenWorm.org authors and contributors'

import sys
Expand Down
2 changes: 1 addition & 1 deletion owmeta_core/bundle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def read(cls, inp):
inp : :term:`file object`
File-like object containing the serialized `Remote`
'''
res = yaml.full_load(inp)
res = yaml.unsafe_load(inp)
assert isinstance(res, cls)
return res

Expand Down

0 comments on commit 25294ca

Please sign in to comment.