Commit 8cf26844 by Piotr Roszatycki

Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode".

parent fed82c21
...@@ -25,7 +25,7 @@ class FilterModule(object): ...@@ -25,7 +25,7 @@ class FilterModule(object):
return { return {
'to_json': json.dumps, 'to_json': json.dumps,
'from_json': json.loads, 'from_json': json.loads,
'to_yaml': yaml.dump, 'to_yaml': yaml.safe_dump,
'from_yaml': yaml.load, 'from_yaml': yaml.load,
} }
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