'report the progress'

def report(self):

    percent = ((self.value / self.total_val) if ((self.value is not None) and self.total_val) else None)
    return {'message': self.message, 'percent': percent}
