From 8414230266756ee1c39b1b1b7bca25d46e4f53e0 Mon Sep 17 00:00:00 2001 From: Carl Niger Date: Thu, 24 May 2018 20:13:22 +0000 Subject: [PATCH] py2/py3 compat fix (#40614) --- lib/ansible/plugins/action/asa_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/asa_config.py b/lib/ansible/plugins/action/asa_config.py index bd8916b65a1..8513d84616d 100644 --- a/lib/ansible/plugins/action/asa_config.py +++ b/lib/ansible/plugins/action/asa_config.py @@ -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]