# HG changeset patch # User Ludovic Chabant # Date 1409372935 25200 # Node ID d9e494df2a994c2b9f44c0a69a2535cfb764b595 # Parent 563ce5dd02af5370bee6a662adb623ef584b5289 Use `SafeLoader` instead of `BaseLoader` for Yaml parsing. diff -r 563ce5dd02af -r d9e494df2a99 piecrust/configuration.py --- a/piecrust/configuration.py Fri Aug 29 16:42:15 2014 -0700 +++ b/piecrust/configuration.py Fri Aug 29 21:28:55 2014 -0700 @@ -124,7 +124,7 @@ return config, offset -class OrderedDictYAMLLoader(yaml.BaseLoader): +class OrderedDictYAMLLoader(yaml.SafeLoader): """ A YAML loader that loads mappings into ordered dictionaries. """ def construct_mapping(self, node, deep=False):