Remove expanduser usage because of path type

With the addition of the 'path' type, the usage of expanduser
is redundant. This patch  removes that extra usage.
This commit is contained in:
Tim Rupp 2017-02-11 09:54:22 -08:00 committed by Brian Coca
parent 0fcc6edf2b
commit 1fb53e6aaf

View file

@ -781,8 +781,8 @@ def main():
supports_check_mode = True,
)
src = os.path.expanduser(module.params['src'])
dest = os.path.expanduser(module.params['dest'])
src = module.params['src']
dest = module.params['dest']
copy = module.params['copy']
remote_src = module.params['remote_src']
file_args = module.load_file_common_arguments(module.params)