changeset 3724 | e5ab08bb0d60 |
parent 3720 | 5376aaadd16b |
child 4075 | e710f4052bd6 |
--- a/hooks/metadata.py Mon Oct 19 15:52:56 2009 +0200 +++ b/hooks/metadata.py Mon Oct 19 16:51:13 2009 +0200 @@ -83,7 +83,7 @@ #session.add_relation(entity.eid, 'is', # eschema_type_eid(session, entity.__regid__)) session.system_sql('INSERT INTO is_relation(eid_from,eid_to) VALUES (%s,%s)' - % (entity.eid, eschema_type_eid(session, entity.id))) + % (entity.eid, eschema_type_eid(session, entity.__regid__))) except IndexError: # during schema serialization, skip return