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)
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)
def clean(self): if os.path.isdir(self.path()): tb.noticeVerbose("removing %s" % self.path(), "remove") shutil.rmtree(self.path()) return True return False
def clean(self): if os.path.isdir(self.path()): tb.noticeVerbose('removing %s' % self.path(), 'remove') shutil.rmtree(self.path()) return True return False