[repo] oops, glob_update_entity takes a list of edited attributes has third argument stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 11 Sep 2009 12:34:55 +0200
branchstable
changeset 3171 b10f0c1f3fe4
parent 3170 ba43e084e884
child 3172 9341ab8f1d1a
[repo] oops, glob_update_entity takes a list of edited attributes has third argument
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)