Update of /cvsroot/modeling/ProjectModeling/Modeling
In directory sc8-pr-cvs1:/tmp/cvs-serv16071
Modified Files:
EntityClassDescription.py
Log Message:
Fixed a variable name, badly chosen
Index: EntityClassDescription.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/EntityClassDescription.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** EntityClassDescription.py 16 Jul 2003 18:41:37 -0000 1.13
--- EntityClassDescription.py 18 Jul 2003 13:50:34 -0000 1.14
***************
*** 214,220 ****
See also: toOneRelationshipKeys(), allToOneRelationshipKeys()
"""
! toManyRels=filter(lambda rel: rel.isToOne(), self._entity.relationships())
res=[]
! for rel in toManyRels:
res.extend([a.name() for a in rel.sourceAttributes()])
return res
--- 214,220 ----
See also: toOneRelationshipKeys(), allToOneRelationshipKeys()
"""
! toOneRels=filter(lambda rel: rel.isToOne(), self._entity.relationships())
res=[]
! for rel in toOneRels:
res.extend([a.name() for a in rel.sourceAttributes()])
return res
|