diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 98c9c7697..a30af87be 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/plugins/RelCalc.py b/gramps2/src/plugins/RelCalc.py index af28dc4ce..90dd3f19d 100644 --- a/gramps2/src/plugins/RelCalc.py +++ b/gramps2/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())