entity.py
changeset 8494 1527b012802f
parent 8493 25da1e5c7c50
child 8509 e83b4a64ba29
equal deleted inserted replaced
8493:25da1e5c7c50 8494:1527b012802f
   560 
   560 
   561     def _cw_update_attr_cache(self, attrcache):
   561     def _cw_update_attr_cache(self, attrcache):
   562         for key in self._cw.get_shared_data('%s.dont-cache-attrs' % self.eid,
   562         for key in self._cw.get_shared_data('%s.dont-cache-attrs' % self.eid,
   563                                             default=(), txdata=True, pop=True):
   563                                             default=(), txdata=True, pop=True):
   564             attrcache.pop(key, None)
   564             attrcache.pop(key, None)
       
   565             self.cw_attr_cache.pop(key, None)
   565         self.cw_attr_cache.update(attrcache)
   566         self.cw_attr_cache.update(attrcache)
   566 
   567 
   567     def _cw_dont_cache_attribute(self, attr):
   568     def _cw_dont_cache_attribute(self, attr):
   568         """repository side method called when some attribute have been
   569         """repository side method called when some attribute have been
   569         transformed by a hook, hence original value should not be cached by
   570         transformed by a hook, hence original value should not be cached by