[entity] fix access to attribute which has been renamed two revisions ago
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 May 2010 07:56:39 +0200
changeset 5559 6b183d860295
parent 5558 afd1face1faf
child 5561 58b05c314443
[entity] fix access to attribute which has been renamed two revisions ago
entity.py
--- a/entity.py	Thu May 20 20:50:03 2010 +0200
+++ b/entity.py	Fri May 21 07:56:39 2010 +0200
@@ -345,7 +345,7 @@
             if hasattr(self, 'edited_attributes') and \
                    attr not in self.edited_attributes:
                 self.edited_attributes.add(attr)
-                self.skip_security_attributes.add(attr)
+                self._cw_skip_security_attributes.add(attr)
 
     def __delitem__(self, attr):
         """override __delitem__ to update self.edited_attributes on cleanup of
@@ -375,7 +375,7 @@
         if hasattr(self, 'edited_attributes') and \
                attr not in self.edited_attributes:
             self.edited_attributes.add(attr)
-            self.skip_security_attributes.add(attr)
+            self._cw_skip_security_attributes.add(attr)
 
     def pop(self, attr, default=_marker):
         """override pop to update self.edited_attributes on cleanup of