pychecker fixes

svn: r1750
This commit is contained in:
Don Allingham
2003-06-16 04:57:25 +00:00
parent e6e150b63f
commit cf54cbc309
26 changed files with 106 additions and 73 deletions

View File

@@ -176,7 +176,7 @@ def get_nephew(level):
return _nephew_level[level]
def get_niece(level):
return _niece_level[level],f
return _niece_level[level]
def is_spouse(orig,other):
for f in orig.getFamilyList():
@@ -199,9 +199,6 @@ def get_relationship(orig_person,other_person):
if orig_person == None:
return ("undefined",[])
firstName = orig_person.getPrimaryName().getRegularName()
secondName = other_person.getPrimaryName().getRegularName()
if orig_person == other_person:
return ('', [])
if is_spouse(orig_person,other_person):