Skip to content

Commit

Permalink
Python 3: there's no iteritems()
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 13, 2015
1 parent 2d77c64 commit f03da5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/playbook/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def preprocess_data(self, ds):
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
Expand Down

0 comments on commit f03da5b

Please sign in to comment.