Fix missing variable initialization for async jid

Fixes #8491
pull/8516/head
James Cammarata 10 years ago
parent a8fe0037f6
commit d4cedfc7f1

@ -34,6 +34,7 @@ class AsyncPoller(object):
self.active = False self.active = False
# True to work with & below # True to work with & below
skipped = True skipped = True
jid = None
for (host, res) in results['contacted'].iteritems(): for (host, res) in results['contacted'].iteritems():
if res.get('started', False): if res.get('started', False):
self.hosts_to_poll.append(host) self.hosts_to_poll.append(host)

Loading…
Cancel
Save