|
|
@ -267,11 +267,11 @@ class FilterModule(object):
|
|
|
|
'from_yaml': yaml.safe_load,
|
|
|
|
'from_yaml': yaml.safe_load,
|
|
|
|
|
|
|
|
|
|
|
|
# path
|
|
|
|
# path
|
|
|
|
'basename': unicode_wrap(os.path.basename),
|
|
|
|
'basename': partial(unicode_wrap, os.path.basename),
|
|
|
|
'dirname': unicode_wrap(os.path.dirname),
|
|
|
|
'dirname': partial(unicode_wrap, os.path.dirname),
|
|
|
|
'expanduser': unicode_wrap(os.path.expanduser),
|
|
|
|
'expanduser': partial(unicode_wrap, os.path.expanduser),
|
|
|
|
'realpath': unicode_wrap(os.path.realpath),
|
|
|
|
'realpath': partial(unicode_wrap, os.path.realpath),
|
|
|
|
'relpath': unicode_wrap(os.path.relpath),
|
|
|
|
'relpath': partial(unicode_wrap, os.path.relpath),
|
|
|
|
|
|
|
|
|
|
|
|
# failure testing
|
|
|
|
# failure testing
|
|
|
|
'failed' : failed,
|
|
|
|
'failed' : failed,
|
|
|
|