* src/plugins.py/rel_xx.py: return order of get_relationship_distance

changed. Not for pt, there that method is inherited.

2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9241
This commit is contained in:
Benny Malengier
2007-10-24 12:52:07 +00:00
parent b3d15e1dca
commit 4e902b6f7a
15 changed files with 50 additions and 16 deletions

View File

@ -266,7 +266,9 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
if is_spouse:
return (is_spouse,[])
(firstRel,secondRel,common) = \
#get_relationship_distance changed, first data is relation to
#orig person, apperently secondRel in this function
(secondRel,firstRel,common) = \
self.get_relationship_distance(db,orig_person,other_person)
if type(common) == types.StringType or \