Commit b1105edf by Tom Christie

Use safe_dump. Fixes #123.

parent aaa14a3e
......@@ -169,7 +169,7 @@ if yaml:
if obj is None:
return ''
return yaml.dump(obj)
return yaml.safe_dump(obj)
else:
YAMLRenderer = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment