Commit 2013d95e by Toshio Kuratomi Committed by James Cammarata

Correct filter specification

parent b30cb192
......@@ -267,11 +267,11 @@ class FilterModule(object):
'from_yaml': yaml.safe_load,
# path
'basename': unicode_wrap(os.path.basename),
'dirname': unicode_wrap(os.path.dirname),
'expanduser': unicode_wrap(os.path.expanduser),
'realpath': unicode_wrap(os.path.realpath),
'relpath': unicode_wrap(os.path.relpath),
'basename': partial(unicode_wrap, os.path.basename),
'dirname': partial(unicode_wrap, os.path.dirname),
'expanduser': partial(unicode_wrap, os.path.expanduser),
'realpath': partial(unicode_wrap, os.path.realpath),
'relpath': partial(unicode_wrap, os.path.relpath),
# failure testing
'failed' : failed,
......
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