def dropIndex(self, table, name, check = True):
        if check:
            assert(table in self.tables)
            if name not in self.tables[table]:
                return False
        self._dropIndexSql(table, name)
        try:
            self.tables[table].remove(name)
        except __HOLE__, e:
            pass
        return True

    # since not all databases handle renaming and dropping columns the
    # same way, we provide a more generic interface in here
dataset/ETHPy150Open sassoftware/conary/conary/dbstore/base_drv.py/BaseDatabase.dropIndex