# HG changeset patch # User Sylvain Thénault # Date 1252665295 -7200 # Node ID b10f0c1f3fe4e24ce6afc97bfebf05e861213016 # Parent ba43e084e8841f62c3b4c2449b26a7546233e5fb [repo] oops, glob_update_entity takes a list of edited attributes has third argument diff -r ba43e084e884 -r b10f0c1f3fe4 server/querier.py --- a/server/querier.py Thu Sep 10 15:27:27 2009 +0200 +++ b/server/querier.py Fri Sep 11 12:34:55 2009 +0200 @@ -508,7 +508,7 @@ if repo.schema.rschema(rtype).inlined: entity = session.entity_from_eid(subj) entity[rtype] = obj - repo.glob_update_entity(session, entity) + repo.glob_update_entity(session, entity, set((rtype,))) else: repo.glob_add_relation(session, subj, rtype, obj)