1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Removes usage of expanduser due to type 'path'

Removes the usage of the expanduser function because it is
being performed automatically by the type 'path' of the
path option.
This commit is contained in:
Tim Rupp 2017-02-13 11:58:20 -08:00 committed by Brian Coca
parent 8cc98b07c5
commit f8cbfad5e6

View file

@ -288,7 +288,7 @@ def main():
supports_check_mode = True
)
path = os.path.expanduser(module.params['path'])
path = module.params['path']
section = module.params['section']
option = module.params['option']
value = module.params['value']