* src/plugins/RelCalc.py (__init__): Skip the person when building the

list.


svn: r2572
This commit is contained in:
Alex Roitman 2003-12-31 23:22:44 +00:00
parent a258b447b5
commit 7fc0c7e0f9
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-31 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/RelCalc.py (__init__): Skip the person when building the
list.
2003-12-30 Michel Guitel <michel.guitel@free.fr>
* doc/gramps-manual/fr/custom.xml: Update translation.
* doc/gramps-manual/fr/usage.xml: Update translation.

View File

@ -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())