mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
executor stats and task_executor pep8 error (#23651)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user