From 7fc0c7e0f9cde298287fc7b2e13ff3f801b64693 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 31 Dec 2003 23:22:44 +0000 Subject: [PATCH] * src/plugins/RelCalc.py (__init__): Skip the person when building the list. svn: r2572 --- ChangeLog | 4 ++++ src/plugins/RelCalc.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 98c9c7697..a30af87be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-12-31 Alex Roitman + * src/plugins/RelCalc.py (__init__): Skip the person when building the + list. + 2003-12-30 Michel Guitel * doc/gramps-manual/fr/custom.xml: Update translation. * doc/gramps-manual/fr/usage.xml: Update translation. diff --git a/src/plugins/RelCalc.py b/src/plugins/RelCalc.py index af28dc4ce..90dd3f19d 100644 --- a/src/plugins/RelCalc.py +++ b/src/plugins/RelCalc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 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 @@ -18,6 +18,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# $Id$ + "Utilities/Relationship calculator" #------------------------------------------------------------------------- @@ -91,6 +93,8 @@ class RelCalc: self.clist.new_model() for key in self.db.getPersonKeys(): p = self.db.getPerson(key) + if p == self.person: + continue val = self.db.getPersonDisplay(key) self.clist.add([val[0],val[1],val[3],val[5],val[6]],p.getId())