entity.py
changeset 3649 59eb710b9862
parent 3629 559cad62c786
child 3674 387d51af966d
--- a/entity.py	Tue Oct 13 08:50:51 2009 +0200
+++ b/entity.py	Tue Oct 13 08:51:02 2009 +0200
@@ -824,7 +824,7 @@
         """
         from indexer.query_objects import tokenize
         # take care to cases where we're modyfying the schema
-        pending = self.req.transaction_data.setdefault('pendingrdefs', set())
+        pending = self._cw.transaction_data.setdefault('pendingrdefs', set())
         words = []
         for rschema in self.e_schema.indexable_attributes():
             if (self.e_schema, rschema) in pending: