mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
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
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user