def _getMigration(major):
    try:
        ret = sys.modules[__name__].__dict__['MigrateTo_' + str(major)]
    except __HOLE__:
        return None
    return ret

# return the last major.minor version for a given major
dataset/ETHPy150Open sassoftware/conary/conary/server/migrate.py/_getMigration