diff --git a/examples/yaml-highlight/yaml_hl.py b/examples/yaml-highlight/yaml_hl.py index d6f7bf4e..96e0ae7b 100755 --- a/examples/yaml-highlight/yaml_hl.py +++ b/examples/yaml-highlight/yaml_hl.py @@ -37,7 +37,7 @@ def __setstate__(self, state): class YAMLHighlight: def __init__(self, options): - config = yaml.load(file(options.config, 'rb').read()) + config = yaml.full_load(file(options.config, 'rb').read()) self.style = config[options.style] if options.input: self.input = file(options.input, 'rb')