Searched refs:indexname (Results 1 – 1 of 1) sorted by relevance
658 def add_element(self, indexname, objs): argument660 if indexname not in self._index:661 self._index[indexname] = {}664 if obj.id in self._index[indexname]:665 if self._index[indexname][obj.id] == obj:667 … raise LayerIndexException('Conflict adding object %s(%s) to index' % (indexname, obj.id))668 self._index[indexname][obj.id] = obj670 def add_raw_element(self, indexname, objtype, rawobjs): argument675 self.add_element(indexname, objs)