def get_indexes_for_table(self, table):
        res = self.execute(self.quote_name(table) % 'PRAGMA index_list(%s);')
        rows = sorted([(r[1], r[2] == 1) for r in res.fetchall()])
        return rows
dataset/ETHPy150Open kuri65536/python-for-android/sl4atools/fullscreenwrapper2/examples/calcount2_example/peewee.py/SqliteDatabase.get_indexes_for_table/swapped operands of `%`