changeset 3399 | 2b84f4adb6f8 |
parent 3376 | f5c69485381f |
child 3720 | 5376aaadd16b |
--- a/hooks/metadata.py Wed Sep 23 10:19:35 2009 +0200 +++ b/hooks/metadata.py Wed Sep 23 10:20:51 2009 +0200 @@ -81,7 +81,7 @@ entity = self.entity try: session.add_relation(entity.eid, 'is', - eschema_type_eid(session, entity.id)) + eschema_type_eid(session, entity.__regid__)) except IndexError: # during schema serialization, skip return