don't try to write .row/.col, use new cw_row/cw_col attributes
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Dec 2009 18:42:53 +0100
changeset 4150 2835482b8daf
parent 4149 ecde9f78a080
child 4151 66fe38345a65
don't try to write .row/.col, use new cw_row/cw_col attributes
rset.py
--- a/rset.py	Mon Dec 21 18:27:29 2009 +0100
+++ b/rset.py	Mon Dec 21 18:42:53 2009 +0100
@@ -326,8 +326,8 @@
             # which get a wrong rset reference by this limit call
             for entity in self.req.cached_entities():
                 if entity.cw_rset is self:
-                    if offset <= entity.row < stop:
-                        entity.row = entity.row - offset
+                    if offset <= entity.cw_row < stop:
+                        entity.cw_row = entity.cw_row - offset
                     else:
                         self.req.drop_entity_cache(entity.eid)
         else: