def work(self, info='', amount=1.0):
        self.current_work += amount
        progress = float(self.current_work) * 100.0 / self.total_work
        if self.min_step == -1 or (
                (progress - self.last_current) >= self.min_step):
            print('{0} - {1:.2f}%'.format(info, progress))
            self.last_current = progress
dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/docutil/progress_monitor.py/CLIProgressMonitor.work/original