예제 #1
0
파일: tango-EdnaDS.py 프로젝트: kif/edna
    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)
예제 #2
0
 def getJobState(self, jobId):
     return EDJob.getStatusFromID(jobId)
예제 #3
0
파일: tango-EdnaDS.py 프로젝트: kif/edna
 def getJobState(self, jobId):
     return EDJob.getStatusFromID(jobId)