Beispiel #1
0
    def makeComputeJob(self, job):
        job.setLog(self.file("log.txt"))
        tb.noticeVerbose("creating compute job for <%s>" % self.img1Path(), "run")

        job.addCommand(self.path(), "echo type=%s > info" % self.type())
        self.computeJobImplementation(job)
        self.epeJobImplementation(job)
Beispiel #2
0
    def makeComputeJob(self,job):
        job.setLog(self.file('log.txt'))
        tb.noticeVerbose('creating compute job for <%s>' % self.img1Path(),'run')

        job.addCommand(self.path(), "echo type=%s > info" % self.type())
        self.computeJobImplementation(job)
        self.epeJobImplementation(job)
Beispiel #3
0
 def clean(self):
     if os.path.isdir(self.path()):
         tb.noticeVerbose("removing %s" % self.path(), "remove")
         shutil.rmtree(self.path())
         return True
     return False
Beispiel #4
0
 def clean(self):
     if os.path.isdir(self.path()):
         tb.noticeVerbose('removing %s' % self.path(), 'remove')
         shutil.rmtree(self.path())
         return True
     return False