Update of /cvsroot/pymerase/pymerase/pymerase
In directory sc8-pr-cvs1:/tmp/cvs-serv32232
Modified Files:
ClassMembers.py
Log Message:
Used the wrong exception name, RangeError must've been from ada or
something, python calles it an IndexError.
Index: ClassMembers.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/pymerase/ClassMembers.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** ClassMembers.py 12 Feb 2003 01:30:25 -0000 1.19
--- ClassMembers.py 12 Mar 2003 22:42:11 -0000 1.20
***************
*** 275,279 ****
self.associationEnds.append(associationEnd)
else:
! raise RangeError("Only allowed to have 2 AssociationEnd per Association")
def removeAssociationEnd(self, associationEnd):
--- 275,279 ----
self.associationEnds.append(associationEnd)
else:
! raise IndexError("Only allowed to have 2 AssociationEnd per Association")
def removeAssociationEnd(self, associationEnd):
|