def _get_catalog(self, tenant_id, user_id):
        d = {'tenant_id': tenant_id, 'user_id': user_id}

        o = {}
        for region, region_ref in self.templates.items():
            o[region] = {}
            for service, service_ref in region_ref.items():
                o[region][service] = {}
                for k, v in service_ref.items():
                    o[region][service][k] = d % v.replace('$(', '%(')
        return o
dataset/ETHPy150Open softlayer/jumpgate/jumpgate/identity/drivers/sl/auth_tokens_v3.py/AuthTokensV3._get_catalog/swapped operands of `%`