mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Removed dict.iteritems() in several other files.
This is for py3 compatibility #18506
This commit is contained in:
parent
7c71c678fa
commit
59227d8c31
13 changed files with 31 additions and 31 deletions
|
@ -124,7 +124,7 @@ class CallbackModule(CallbackBase):
|
|||
# Sort the tasks by the specified sort
|
||||
if self.sort_order != 'none':
|
||||
results = sorted(
|
||||
self.stats.iteritems(),
|
||||
self.stats.items(),
|
||||
key=lambda x:x[1]['time'],
|
||||
reverse=self.sort_order,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue