Beispiel #1
0
    def done(self):
        self.status = int(progressd.get(self.id, 'status'))
        if self.status in (Job.COMPLETE, Job.ERROR):
            self.refresh()

        return self.status in (Job.COMPLETE, Job.ERROR)
Beispiel #2
0
    def done(self):
        self.status = int(progressd.get(self.id, 'status'))
        if self.status in (Job.COMPLETE, Job.ERROR):
            self.refresh()

        return self.status in (Job.COMPLETE, Job.ERROR)
Beispiel #3
0
 def progress(self):
     progress = progressd.get(self.id, 'progress')
     logger.debug('***PROGRESS: %s: %s' % (self.id, progress))
     return int(progress)
Beispiel #4
0
 def progress(self):
     progress = progressd.get(self.id, 'progress')
     logger.debug('***PROGRESS: %s: %s' % (self.id, progress))
     return int(progress)