def __init__()

in zktraffic/cli/printer.py [0:0]


  def __init__(self, colors, output=sys.stdout, skip_print=None):
    super(Printer, self).__init__()
    self.setDaemon(True)
    self._queue = deque()
    self._print = self._print_color if colors else self._print_default
    self._output = output
    self._stopped = True
    self._wants_stopped = False
    self._skip_print = skip_print  # a callable that takes msg and returns a bool
    self.start()