code: def finish_target(self, name):
          
          # We have to write a msg about finished target
          with self._lock:
              pbar = self._bar(name, 100, 100)
  
              if sys.stdout.isatty():
                  self.clearln()
  
              self._print(pbar)
  
              self._n_finished += 1
              self._line = None
docs: Finishes progress bar for a specified target.