def process_event(self): """ process finished jobs on the tango side (issue with tango locks) """ while not self.quit: jobid = self.eventQueue.get() status = EDJob.getStatusFromID(jobid) if status == EDJob.PLUGIN_STATE_SUCCESS: self.push_change_event("jobSuccess", jobid) else: self.push_change_event("jobFailure", jobid)
def getJobState(self, jobId): return EDJob.getStatusFromID(jobId)