diff --git a/ChangeLog b/ChangeLog index e23f7a249..ee57e6fe4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-02-01 Alex Roitman + * src/plugins/rel_hu.py: Typos. + 2004-01-31 Egyeki Gergely * src/plugins/rel_hu.py: Update diff --git a/src/plugins/rel_hu.py b/src/plugins/rel_hu.py index c2896be5b..ce84316da 100644 --- a/src/plugins/rel_hu.py +++ b/src/plugins/rel_hu.py @@ -173,17 +173,17 @@ def get_age_sister (level): def is_fathermother_in_law(orig,other): # sp = [] for f in other.getFamilyList(): - if other == f.getFather(): sp = f.getMother - elif other == f.getMother() : sp = f.getFather + if other == f.getFather(): sp = f.getMother() + elif other == f.getMother() : sp = f.getFather() for g in orig.getFamilyList(): - if sp in g.getChildList(): return 1 + if sp in g.getChildList(): return 1 return 0 def get_fathermother_in_law_child(orig,other): # sp = [] for f in other.getFamilyList(): - if other == f.getFather(): sp = f.getMother - elif other == f.getMother() : sp = f.getFather + if other == f.getFather(): sp = f.getMother() + elif other == f.getMother() : sp = f.getFather() for g in orig.getFamilyList(): if sp in g.getChildList(): return [sp] return []