svn: r2847
This commit is contained in:
Alex Roitman 2004-02-15 23:21:43 +00:00
parent 2e9976510b
commit 6943ee0013
2 changed files with 6 additions and 6 deletions

View File

@ -360,8 +360,8 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
return ("spouse",[])
try:
self.apply_filter(orig_person.get_id(),0,firstList,firstMap)
self.apply_filter(other_person.get_id(),0,secondList,secondMap)
self.apply_filter(orig_person,0,firstList,firstMap)
self.apply_filter(other_person,0,secondList,secondMap)
except RuntimeError,msg:
return (_("Relationship loop detected"),None)
@ -437,8 +437,8 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
return ('', [])
try:
self.apply_filter(orig_person.get_id(),0,firstList,firstMap)
self.apply_filter(other_person.get_id(),0,secondList,secondMap)
self.apply_filter(orig_person,0,firstList,firstMap)
self.apply_filter(other_person,0,secondList,secondMap)
except RuntimeError,msg:
return (_("Relationship loop detected"),None)

View File

@ -221,8 +221,8 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
return ("spouse",[])
try:
self.apply_filter(orig_person.get_id(),0,firstList,firstMap)
self.apply_filter(other_person.get_id(),0,secondList,secondMap)
self.apply_filter(orig_person,0,firstList,firstMap)
self.apply_filter(other_person,0,secondList,secondMap)
except RuntimeError,msg:
return (_("Relationship loop detected"),None)