changeset 2680 | 66472d85d548 |
parent 2646 | d2874ddd4347 |
child 3109 | e7e1bb06b716 |
--- a/server/querier.py Tue Aug 04 17:02:18 2009 +0200 +++ b/server/querier.py Tue Aug 04 17:11:50 2009 +0200 @@ -506,7 +506,7 @@ elif not isinstance(obj, (int, long)): obj = obj.eid if repo.schema.rschema(rtype).inlined: - entity = session.eid_rset(subj).get_entity(0, 0) + entity = session.entity_from_eid(subj) entity[rtype] = obj repo.glob_update_entity(session, entity) else: