author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 18 Aug 2009 00:28:37 +0200 | |
changeset 2893 | 5989ce0707bc |
parent 2892 | 7ae3d62a8328 |
child 2894 | 4b720d82a1e4 |
--- a/server/repository.py Tue Aug 18 00:23:15 2009 +0200 +++ b/server/repository.py Tue Aug 18 00:28:37 2009 +0200 @@ -829,6 +829,7 @@ self._type_source_cache[eid] = (etype, source.uri, extid) entity = source.before_entity_insertion(session, extid, etype, eid) if source.should_call_hooks: + entity.edited_attributes = set(entity) self.hm.call_hooks('before_add_entity', session, entity=entity) # XXX call add_info with complete=False ? self.add_info(session, entity, source, extid)