def __init__(self, stream=None):
    if stream is None:
      stream = sys.stdout

    try:
      if stream.isatty():
        curses.setupterm()
        self.terminal_capable = True
    except __HOLE__:
      pass
dataset/ETHPy150Open google/grr/grr/tools/run_tests.py/Colorizer.__init__