Skip to content

Commit

Permalink
Merge 2e7aa3f into 9b09956
Browse files Browse the repository at this point in the history
  • Loading branch information
mchalek committed Apr 28, 2019
2 parents 9b09956 + 2e7aa3f commit 8c86d61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boundary_layer/registry/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def node_configs(self):
def load_from_file(self, filename):
item = None
with open(filename) as _in:
item = yaml.load(_in)
item = yaml.safe_load(_in)

logger.debug('validating item %s against schema %s',
item, self.spec_schema_cls.__name__)
Expand Down
2 changes: 1 addition & 1 deletion test/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def imports(self):
type = NodeTypes.OPERATOR

def __init__(self, item):
mock_config = yaml.load(MOCK_NODE_CONFIG_YAML)
mock_config = yaml.safe_load(MOCK_NODE_CONFIG_YAML)
super(MockNode, self).__init__(mock_config, item)


Expand Down

0 comments on commit 8c86d61

Please sign in to comment.