From b49d39c5dbdbf3faf959c3bdee10c245b502e1e3 Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Sat, 11 Feb 2017 10:34:21 -0800 Subject: [PATCH] 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 --- lib/ansible/modules/packaging/language/bower.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/language/bower.py b/lib/ansible/modules/packaging/language/bower.py index 489ab3cb804..b9c57f2bdac 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']