def find_schemas(self):

        # TODO(mikal): once more of the cells code lands this needs to handle
        # the API migratons as well as the cells migration. Just do cells for
        # now though.
        cells_migration_path = os.path.join(
            self.gitpath,
            'nova/db/sqlalchemy/cell_migrations/migrate_repo/versions')

        if not os.path.exists(cells_migration_path):
            cells_migration_path = os.path.join(
                self.gitpath,
                'nova/db/sqlalchemy/migrate_repo/versions')

        return [int(MIGRATION_NUMBER_RE.findall(f)[0]) for f in os.listdir(
            cells_migration_path) if MIGRATION_NUMBER_RE.match(f)]
Calling cancel multiple times on a deferred with no canceller
dataset/ETHPy150Open openstack/turbo-hipster/turbo_hipster/task_plugins/real_db_upgrade/handle_results.py/LogParser.find_schemas--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredCancellerTest.test_noCancellerMultipleCancel