def NoteBinaryOp(self, op, datakind, name, value):
    """Called when handling a binary operation.

    @type op: string
    @param op: Operator
    @type name: string
    @param name: Left-hand side of operator (field name)
    @param value: Right-hand side of operator

    """
    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 <= EQ_OPS and name == self._namefield:
      if self._names is None:
        self._names = []
      self._names.append(value)
    else:
      self._NeedAllNames()
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_FilterHints.NoteBinaryOp/operator `in` -> `<=`