def __init__(self, op, **kwargs):
        """This sets up the IMAPSearch object. It must be given at least the
        'search operation' keyword and a bunch of keyword arguments that are
        required for that search operation.
        """
        self.log = logging.getLogger((__name__, self.__class__.__name__) % "%s.%s")
        if op not in self.VALID_OPS:
            raise BadSearchOp("'%s' is not a valid search op" % op)
        self.op = op
        self.args = kwargs

    #########################################################################
    #
dataset/ETHPy150Open scanner/asimap/asimap/search.py/IMAPSearch.__init__/swapped operands of `%`