changeset 3720 | 5376aaadd16b |
parent 3689 | deb13e88e037 |
child 4023 | eae23c40627a |
child 4176 | 42247d70105b |
--- a/server/sqlutils.py Thu Oct 15 11:20:26 2009 +0200 +++ b/server/sqlutils.py Mon Oct 19 15:16:41 2009 +0200 @@ -229,8 +229,8 @@ attrs = {} eschema = entity.e_schema for attr, value in entity.items(): - rschema = eschema.subject_relation(attr) - if rschema.is_final(): + rschema = eschema.subjrels[attr] + if rschema.final: atype = str(entity.e_schema.destination(attr)) if atype == 'Boolean': value = self.dbhelper.boolean_value(value)