* src/plugins/rel_hu.py: Typos.
svn: r2744
This commit is contained in:
parent
2d1d9384b4
commit
6a46db7481
@ -1,3 +1,6 @@
|
||||
2004-02-01 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/plugins/rel_hu.py: Typos.
|
||||
|
||||
2004-01-31 Egyeki Gergely <egeri@elte.hu>
|
||||
* src/plugins/rel_hu.py: Update
|
||||
|
||||
|
@ -173,8 +173,8 @@ 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
|
||||
return 0
|
||||
@ -182,8 +182,8 @@ def is_fathermother_in_law(orig,other):
|
||||
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 []
|
||||
|
Loading…
Reference in New Issue
Block a user