author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 17 May 2010 17:31:45 +0200 | |
branch | stable |
changeset 5532 | 1fa6e09605a5 |
parent 5531 | 0ce62ac0d1d7 |
child 5533 | 5cb121d4f02f |
--- a/rset.py Mon May 17 17:31:29 2010 +0200 +++ b/rset.py Mon May 17 17:31:45 2010 +0200 @@ -475,7 +475,10 @@ if role == 'subject': rschema = eschema.subjrels[attr] if rschema.final: - entity[attr] = rowvalues[outerselidx] + if attr == 'eid': + entity.eid = rowvalues[outerselidx] + else: + entity[attr] = rowvalues[outerselidx] continue else: rschema = eschema.objrels[attr]