Merge pull request #7902 from jirutka/filter-relpath

Add os relpath filter
pull/4420/head
James Cammarata 2014-06-23 12:33:30 -05:00
commit 59c5d6292b
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ class FilterModule(object):
'dirname': os.path.dirname, 'dirname': os.path.dirname,
'expanduser': os.path.expanduser, 'expanduser': os.path.expanduser,
'realpath': os.path.realpath, 'realpath': os.path.realpath,
'relpath': os.path.relpath,
# failure testing # failure testing
'failed' : failed, 'failed' : failed,