1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add os relpath filter

This commit is contained in:
Jakub Jirutka 2014-06-23 15:23:57 +02:00
parent 65a8ffef6e
commit 726a61eb43

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,