mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
executor stats and task_executor pep8 error (#23651)
This commit is contained in:
parent
6fd579b9f5
commit
be6c4908a2
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class AggregateStats:
|
|||
failures=self.failures.get(host, 0),
|
||||
unreachable=self.dark.get(host, 0),
|
||||
changed=self.changed.get(host, 0),
|
||||
skipped=self.skipped.get(host, 0),
|
||||
skipped=self.skipped.get(host, 0)
|
||||
)
|
||||
|
||||
def set_custom_stats(self, which, what, host=None):
|
||||
|
|
|
@ -148,7 +148,7 @@ class TaskExecutor:
|
|||
else:
|
||||
raise
|
||||
elif isinstance(res, list):
|
||||
for (idx, item) in enumerate(res):
|
||||
for idx, item in enumerate(res):
|
||||
res[idx] = _clean_res(item, errors=errors)
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in a new issue