Add ChildRef class, reorganize RelLib.

svn: r6320
This commit is contained in:
Alex Roitman
2006-04-13 03:15:22 +00:00
parent 0eb3838f92
commit 7a61396025
38 changed files with 696 additions and 469 deletions

View File

@ -1121,8 +1121,8 @@ class PedigreeView(PageView.PersonNavView):
else:
return
if family_handle:
mrel = m != RelLib.Person.CHILD_BIRTH
frel = f != RelLib.Person.CHILD_BIRTH
mrel = m != RelLib.ChildRef.CHILD_BIRTH
frel = f != RelLib.ChildRef.CHILD_BIRTH
family = self.db.get_family_from_handle(family_handle)
if family != None: