From 59ebc3b6b682f6f176eb6dc36bca71d831876642 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 20 Oct 2006 04:47:27 +0000 Subject: [PATCH] Update svn: r7418 --- src/plugins/rel_pl.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/rel_pl.py b/src/plugins/rel_pl.py index f2c9ac085..c9db03e44 100644 --- a/src/plugins/rel_pl.py +++ b/src/plugins/rel_pl.py @@ -2,7 +2,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2003-2005 Donald N. Allingham +# Copyright (C) 2003-2006 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,6 +19,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# $Id$ + # Written by Piotr Czubaszek, largely based on rel_de.py by Alex Roitman. #------------------------------------------------------------------------- @@ -341,7 +343,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator): if level>len(_nephew_level)-1: return "daleki potomek" else: - return _nephew_level[level] + return _nephew_level[level] def get_niece(self,level): if level>len(_niece_level)-1: @@ -398,7 +400,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator): return (self.get_aunt(secondRel),common) elif secondRel == 1: if other_person.get_gender() == RelLib.Person.MALE: - return (self.get_nephew(firstRel-1),common) + return (self.get_nephew(firstRel-1),common) else: return (self.get_niece(firstRel-1),common) elif secondRel > firstRel: