rset.py
changeset 5557 1a534c596bff
parent 5532 1fa6e09605a5
child 5679 0f2ded880d01
--- a/rset.py	Thu May 20 20:47:55 2010 +0200
+++ b/rset.py	Thu May 20 20:50:00 2010 +0200
@@ -453,7 +453,7 @@
         etype = self.description[row][col]
         entity = self.req.vreg['etypes'].etype_class(etype)(req, rset=self,
                                                             row=row, col=col)
-        entity.set_eid(eid)
+        entity.eid = eid
         # cache entity
         req.set_entity_cache(entity)
         eschema = entity.e_schema
@@ -494,7 +494,7 @@
                         rrset.req = req
                     else:
                         rrset = self._build_entity(row, outerselidx).as_rset()
-                    entity.set_related_cache(attr, role, rrset)
+                    entity.cw_set_relation_cache(attr, role, rrset)
         return entity
 
     @cached