From 6943ee0013c9a969bd7d57893ea762d3274842bd Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 15 Feb 2004 23:21:43 +0000 Subject: [PATCH] Update svn: r2847 --- src/plugins/rel_de.py | 8 ++++---- src/plugins/rel_ru.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/rel_de.py b/src/plugins/rel_de.py index c5d4992c5..5286bfbed 100644 --- a/src/plugins/rel_de.py +++ b/src/plugins/rel_de.py @@ -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) diff --git a/src/plugins/rel_ru.py b/src/plugins/rel_ru.py index e97b6558f..ffff8d5de 100644 --- a/src/plugins/rel_ru.py +++ b/src/plugins/rel_ru.py @@ -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)