equal
deleted
inserted
replaced
551 self._cw_is_saved = True |
551 self._cw_is_saved = True |
552 self.cw_attr_cache = {} |
552 self.cw_attr_cache = {} |
553 |
553 |
554 def __repr__(self): |
554 def __repr__(self): |
555 return '<Entity %s %s %s at %s>' % ( |
555 return '<Entity %s %s %s at %s>' % ( |
556 self.e_schema, self.eid, self.cw_attr_cache.keys(), id(self)) |
556 self.e_schema, self.eid, list(self.cw_attr_cache), id(self)) |
557 |
557 |
558 def __cmp__(self, other): |
558 def __cmp__(self, other): |
559 raise NotImplementedError('comparison not implemented for %s' % self.__class__) |
559 raise NotImplementedError('comparison not implemented for %s' % self.__class__) |
560 |
560 |
561 def _cw_update_attr_cache(self, attrcache): |
561 def _cw_update_attr_cache(self, attrcache): |