equal
deleted
inserted
replaced
143 for rtype in self] |
143 for rtype in self] |
144 try: |
144 try: |
145 entity.e_schema.check(dict_protocol_catcher(entity), |
145 entity.e_schema.check(dict_protocol_catcher(entity), |
146 creation=creation, relations=relations) |
146 creation=creation, relations=relations) |
147 except ValidationError as ex: |
147 except ValidationError as ex: |
148 ex.entity = self.entity |
148 ex.entity = self.entity.eid |
149 raise |
149 raise |
150 |
150 |
151 def clone(self): |
151 def clone(self): |
152 thecopy = EditedEntity(copy(self.entity)) |
152 thecopy = EditedEntity(copy(self.entity)) |
153 thecopy.entity.cw_attr_cache = copy(self.entity.cw_attr_cache) |
153 thecopy.entity.cw_attr_cache = copy(self.entity.cw_attr_cache) |