Fix missing variable initialization for async jid

Fixes #8491
This commit is contained in:
James Cammarata 2014-08-07 23:49:36 -05:00
parent a8fe0037f6
commit d4cedfc7f1

View file

@ -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)