equal
deleted
inserted
replaced
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 |