Use full_load in yaml-highlight example (#359)
diff --git a/examples/yaml-highlight/yaml_hl.py b/examples/yaml-highlight/yaml_hl.py
index d6f7bf4..96e0ae7 100755
--- a/examples/yaml-highlight/yaml_hl.py
+++ b/examples/yaml-highlight/yaml_hl.py
@@ -37,7 +37,7 @@
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')