mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Removed dict.iteritems() in several other files.
This is for py3 compatibility #18506
This commit is contained in:
committed by
Toshio Kuratomi
parent
7c71c678fa
commit
59227d8c31
@@ -29,7 +29,7 @@ from ansible.plugins.action.synchronize import ActionModule
|
||||
'''
|
||||
import copy
|
||||
safe_vars = {}
|
||||
for k,v in task_vars.iteritems():
|
||||
for k,v in task_vars.items():
|
||||
if k not in ['vars', 'hostvars']:
|
||||
safe_vars[k] = copy.deepcopy(v)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user