Merge pull request #1982 from dex4er/feature_j2_filter_safe_yaml

Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode".
pull/2015/head
Daniel Hokka Zakrisson 12 years ago
commit 19f3cf45f4

@ -25,7 +25,7 @@ class FilterModule(object):
return {
'to_json': json.dumps,
'from_json': json.loads,
'to_yaml': yaml.dump,
'to_yaml': yaml.safe_dump,
'from_yaml': yaml.load,
}

Loading…
Cancel
Save