Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
 def getJobState(self, jobId):
     return EDJob.getStatusFromID(jobId)
Ejemplo n.º 3
0
 def getJobState(self, jobId):
     return EDJob.getStatusFromID(jobId)