Python 3: there's no iteritems()
This commit is contained in:
parent
2d77c643e4
commit
f03da5be42
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
else:
|
||||
new_ds['vars'] = dict()
|
||||
|
||||
for (k,v) in ds.iteritems():
|
||||
for (k,v) in iteritems(ds):
|
||||
if k in ('action', 'local_action', 'args', 'delegate_to') or k == action or k == 'shell':
|
||||
# we don't want to re-assign these values, which were
|
||||
# determined by the ModuleArgsParser() above
|
||||
|
|
Loading…
Reference in a new issue