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

Removes expanduser calls

The usage of type='path' includes the expanduser call itself. This
patch removes its duplicate usage. Related to #12263
This commit is contained in:
Tim Rupp 2017-02-13 14:52:25 -08:00 committed by Brian Coca
parent f95a11a9db
commit 888c8614fb

View file

@ -155,7 +155,7 @@ def main():
) )
params = module.params params = module.params
path = os.path.expanduser(params['path']) path = params['path']
res_args = dict() res_args = dict()
if os.path.isdir(path): if os.path.isdir(path):