This commit is contained in:
Matt Coddington 2013-04-25 23:04:17 -04:00
parent 4a4958f6c9
commit c164609dd6

View file

@ -48,7 +48,7 @@ class AsyncPoller(object):
if jid is None:
raise errors.AnsibleError("unexpected error: unable to determine jid")
if len(self.hosts_to_poll)==0:
raise errors.AnsibleErrot("unexpected error: no hosts to poll")
raise errors.AnsibleError("unexpected error: no hosts to poll")
self.jid = jid
def poll(self):