diff options
author | Tim Rupp <caphrim007@gmail.com> | 2017-02-11 10:34:21 -0800 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-02-13 15:02:05 -0500 |
commit | b49d39c5dbdbf3faf959c3bdee10c245b502e1e3 (patch) | |
tree | da22cfc2cd6411d341aa4ac1dcfd45654abd2c17 /lib/ansible/modules/packaging/language | |
parent | 2cb658925be9e07b042b7c75fb8e1dd62f9024f1 (diff) | |
download | ansible-b49d39c5dbdbf3faf959c3bdee10c245b502e1e3.tar.gz |
Removes usage of expanduser because of type path
The usage of type 'path' for the path option makes the use
of expanduser redundant. This patch removes the expanduser
call because the path type is already used for the path
option
Diffstat (limited to 'lib/ansible/modules/packaging/language')
-rw-r--r-- | lib/ansible/modules/packaging/language/bower.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/packaging/language/bower.py b/lib/ansible/modules/packaging/language/bower.py index 489ab3cb80..b9c57f2bda 100644 --- a/lib/ansible/modules/packaging/language/bower.py +++ b/lib/ansible/modules/packaging/language/bower.py @@ -209,7 +209,7 @@ def main(): name = module.params['name'] offline = module.params['offline'] production = module.params['production'] - path = os.path.expanduser(module.params['path']) + path = module.params['path'] relative_execpath = module.params['relative_execpath'] state = module.params['state'] version = module.params['version'] |