def load_flavors(force_reload=False):
    global FLAVOR_MAPPING
    if force_reload or FLAVOR_MAPPING is None:
        logging.info('load flavors into memory')
        FLAVOR_MAPPING = {}
        adapters_flavors = adapter_api.get_flavors_internal(
            force_reload=force_reload
        )
        for adapter_name, adapter_flavors in adapters_flavors.items():
            for flavor_name, flavor in adapter_flavors.items():
                FLAVOR_MAPPING[(adapter_name, flavor_name) % '%s:%s'] = flavor
dataset/ETHPy150Open openstack/compass-core/compass/db/api/adapter_holder.py/load_flavors/swapped operands of `%`