def evict(self, obj_type, obj_uuids):
    for obj_uuid in obj_uuids:
        try:
            obj_dict = self._cache.pop(obj_uuid).obj_dict
            if (obj_type in self._debug_obj_cache_types):
                self._log(('%s %s (%s) was evicted from cache. Cache contained: %s' % (obj_type.replace('_', '-').title(), ':'.join(obj_dict['fq_name']), obj_uuid, pformat(obj_dict))))
        except KeyError:
            continue
def evict(self, obj_type, obj_uuids):
    for obj_uuid in obj_uuids:
        try:
            obj_dict = self._cache.pop(obj_uuid).obj_dict
            if (obj_type in self._debug_obj_cache_types):
                self._log(('%s %s (%s) was evicted from cache. Cache contained: %s' % (obj_type.replace('_', '-').title(), ':'.join(obj_dict['fq_name']), obj_uuid, pformat(obj_dict))))
        except KeyError:
            continue