Commit 448c0a95 by Michael DeHaan

Merge pull request #8622 from ciupicri/typo

Fix typo: & -> and
parents 9e0090e2 b6261d05
...@@ -32,7 +32,7 @@ class AsyncPoller(object): ...@@ -32,7 +32,7 @@ class AsyncPoller(object):
# flag to determine if at least one host was contacted # flag to determine if at least one host was contacted
self.active = False self.active = False
# True to work with & below # True to work with the `and` below
skipped = True skipped = True
jid = None jid = None
for (host, res) in results['contacted'].iteritems(): for (host, res) in results['contacted'].iteritems():
...@@ -42,7 +42,7 @@ class AsyncPoller(object): ...@@ -42,7 +42,7 @@ class AsyncPoller(object):
self.runner.vars_cache[host]['ansible_job_id'] = jid self.runner.vars_cache[host]['ansible_job_id'] = jid
self.active = True self.active = True
else: else:
skipped = skipped & res.get('skipped', False) skipped = skipped and res.get('skipped', False)
self.results['contacted'][host] = res self.results['contacted'][host] = res
for (host, res) in results['dark'].iteritems(): for (host, res) in results['dark'].iteritems():
self.runner.vars_cache[host]['ansible_job_id'] = '' self.runner.vars_cache[host]['ansible_job_id'] = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment