def display(self): BasicReport.display(self) self._bar.update(len(self._jobDB.getJobs(ClassSelector(JobClass.SUCCESS)))) sys.stdout.write(str(self._bar) + '\n')
def getHeight(self): return BasicReport.getHeight(self) + 1
def __init__(self, jobDB, task, jobs = None, configString = ''): BasicReport.__init__(self, jobDB, task, jobs, configString) self._bar = BasicProgressBar(0, len(jobDB), 65)