mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 04:14:42 +00:00
Fix iteration over dictionaire to not use "keys()" method.
This commit is contained in:
@@ -365,7 +365,7 @@ def main():
|
|||||||
reverse_field_map = {v: k for k, v in field_map.items()}
|
reverse_field_map = {v: k for k, v in field_map.items()}
|
||||||
|
|
||||||
params = {}
|
params = {}
|
||||||
for x in field_map.keys():
|
for x in field_map:
|
||||||
val = module_params_get(ansible_module, x)
|
val = module_params_get(ansible_module, x)
|
||||||
|
|
||||||
if val is not None:
|
if val is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user