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
pull/4420/head
Tim Rupp 2017-02-11 10:34:21 -08:00 committed by Brian Coca
parent 2cb658925b
commit b49d39c5db
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ def main():
name = module.params['name'] name = module.params['name']
offline = module.params['offline'] offline = module.params['offline']
production = module.params['production'] production = module.params['production']
path = os.path.expanduser(module.params['path']) path = module.params['path']
relative_execpath = module.params['relative_execpath'] relative_execpath = module.params['relative_execpath']
state = module.params['state'] state = module.params['state']
version = module.params['version'] version = module.params['version']