PEATDB/plugins/PEATSAplugin.py
def removeJob(self):
        """Remove a job from the db"""
        job, name = self.getJob()        
        answer = tkMessageBox.askyesno("Warning",'Remove this job?')
        if answer == False:
            return        
        try:            
            self.jobManager.deleteJob(job)
        except:
            print 'job not in database, removing from peat'
        del self.DB.meta.peatsa_jobs[name]
        self.DB.meta.__p__changed = 1
        self.updateJobs()
        return
Remove a job from the db
Remove a job from the db
Remove a job from the db
def removeJob(self):
        job, name = self.getJob()        
        answer = tkMessageBox.askyesno("Warning",'Remove this job?')
        if answer == False:
            return        
        try:            
            self.jobManager.deleteJob(job)
        except:
            print 'job not in database, removing from peat'
        del self.DB.meta.peatsa_jobs[name]
        self.DB.meta.__p__changed = 1
        self.updateJobs()
        return
def removeJob ( self ) : job , name = self . getJob ( ) answer = tkMessageBox . askyesno ( "Warning" , 'Remove this job?' ) if answer == False : return try : self . jobManager . deleteJob ( job ) except : print 'job not in database, removing from peat' del self . DB . meta . peatsa_jobs [ name ] self . DB . meta . __p__changed = 1 self . updateJobs ( ) return
Remove a job from the db
Remove a job from the db
"""Remove a job from the db"""
self