def _kw_clause_from_q(self, *pairs, **kw):
        """Makes a WHERE clause out of pairs of (key, val) from Q objects."""
        connector = kw.get('connector', AND)
        stmt = []
        for field, val in pairs:
            stmt.append(self._kw_filter_to_clause(field, val))
        return (connector % u' %s ').join(stmt)
dataset/ETHPy150Open mozilla/addons-server/src/olympia/editors/sql_model.py/RawSQLManager._kw_clause_from_q/swapped operands of `%`