Use safe_dump. Fixes #123.

This commit is contained in:
Tom Christie 2012-01-11 13:43:47 +00:00
parent aaa14a3e17
commit b1105edfed

View File

@ -169,7 +169,7 @@ if yaml:
if obj is None:
return ''
return yaml.dump(obj)
return yaml.safe_dump(obj)
else:
YAMLRenderer = None