Skip to content

Commit

Permalink
Switch yaml.Loader to yaml.SafeLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
econchick committed Aug 3, 2015
1 parent 0cde4b6 commit 6333499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramlfications/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _yaml_include(self, loader, node):
with open(file_name) as inputfile:
return yaml.load(inputfile, self._ordered_loader)

def _ordered_load(self, stream, loader=yaml.Loader):
def _ordered_load(self, stream, loader=yaml.SafeLoader):
"""
Preserves order set in RAML file.
"""
Expand Down

0 comments on commit 6333499

Please sign in to comment.