Commit ca7e2d28 by egghead

Adding os realpath filter.

This is particularly useful when wanting to get the absolute path of filepaths found by the 'fileglob' filter.
This also lets you provide absolute paths to roles, which search for files in different areas unless absolutely pathed.
parent 79071aee
......@@ -120,6 +120,7 @@ class FilterModule(object):
# path
'basename': os.path.basename,
'dirname': os.path.dirname,
'realpath': os.path.realpath,
# 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