always listen when gathering job info

This commit is contained in:
Daniel Wallace 2018-06-15 14:47:25 -05:00
parent b98c52ee51
commit d8209e8a40
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -221,7 +221,7 @@ class LocalClient(object):
# Looks like the timeout is invalid, use config
return self.opts['timeout']
def gather_job_info(self, jid, tgt, tgt_type, **kwargs):
def gather_job_info(self, jid, tgt, tgt_type, listen=True, **kwargs):
'''
Return the information about a given job
'''
@ -233,6 +233,7 @@ class LocalClient(object):
arg=[jid],
tgt_type=tgt_type,
timeout=timeout,
listen=listen,
**kwargs
)