mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
issue:38321 fix onyx_config module failed while using python = 3.5 (#38343)
This commit is contained in:
committed by
Chris Alfonso
parent
cd280859dd
commit
0d79268a6d
@@ -54,7 +54,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.keys()):
|
||||
if PRIVATE_KEYS_RE.match(key):
|
||||
del result[key]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user