mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
py2/py3 compat fix (#40614)
This commit is contained in:
parent
5861d5f74e
commit
8414230266
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class ActionModule(_ActionModule):
|
|||
|
||||
# strip out any keys that have two leading and two trailing
|
||||
# underscore characters
|
||||
for key in result.keys():
|
||||
for key in list(result):
|
||||
if PRIVATE_KEYS_RE.match(key):
|
||||
del result[key]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue