* various: const to RelLib transitition.

svn: r4800
This commit is contained in:
Martin Hawlisch
2005-06-07 19:22:10 +00:00
parent 16c906d7cb
commit f16f41cbda
10 changed files with 76 additions and 73 deletions

View File

@@ -1415,7 +1415,7 @@ class HaveAltFamilies(Rule):
def apply(self,db,handle):
p = db.get_person_from_handle(handle)
for (fam,rel1,rel2) in p.get_parent_family_handle_list():
if rel1 == const.CHILD_ADOPTED or rel2 == const.CHILD_ADOPTED:
if rel1 == RelLib.Person.CHILD_ADOPTED or rel2 == RelLib.Person.CHILD_ADOPTED:
return 1
return 0