entity.py
changeset 3649 59eb710b9862
parent 3629 559cad62c786
child 3674 387d51af966d
equal deleted inserted replaced
3648:665c37544060 3649:59eb710b9862
   822         :rtype: list
   822         :rtype: list
   823         :return: the list of indexable word of this entity
   823         :return: the list of indexable word of this entity
   824         """
   824         """
   825         from indexer.query_objects import tokenize
   825         from indexer.query_objects import tokenize
   826         # take care to cases where we're modyfying the schema
   826         # take care to cases where we're modyfying the schema
   827         pending = self.req.transaction_data.setdefault('pendingrdefs', set())
   827         pending = self._cw.transaction_data.setdefault('pendingrdefs', set())
   828         words = []
   828         words = []
   829         for rschema in self.e_schema.indexable_attributes():
   829         for rschema in self.e_schema.indexable_attributes():
   830             if (self.e_schema, rschema) in pending:
   830             if (self.e_schema, rschema) in pending:
   831                 continue
   831                 continue
   832             try:
   832             try: