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
path = os.path.expanduser(params['path'])
path = params['path']
res_args = dict()
if os.path.isdir(path):