executor stats and task_executor pep8 error (#23651)

pull/27773/head
TaoBeier 7 years ago committed by ansibot
parent 6fd579b9f5
commit be6c4908a2

@ -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…
Cancel
Save