def NoteBinaryOp(self, op, datakind, name, value):
    if datakind is not None:
      self._datakinds.add(datakind)

    if self._allnames:
      return

    # If any operator other than equality was used, all names need to be
    # retrieved
    EQ_OPS = [qlang.OP_EQUAL, qlang.OP_EQUAL_LEGACY]
    if op in EQ_OPS and name == self._namefield:
      if self._names is None:
        self._names = []
      self._names.append(value)
    else:
      self._NeedAllNames()
Prettifies an element tree in-place
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_FilterHints.NoteBinaryOp--crossover with--dataset/ETHPy150Open mimecuvalo/helloworld/packages/magicsig/__init__.py/Envelope._PrettyIndent