From 3736aa58efcb2fb89b2b192381e60dac25486dbe Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 8 Jan 2004 15:39:33 +0000 Subject: [PATCH] * src/FamilyView.py (delete_family_from): Remove extra "[0]". svn: r2608 --- ChangeLog | 3 +++ src/FamilyView.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00a8b9070..0dae2091c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-01-08 Alex Roitman + * src/FamilyView.py (delete_family_from): Remove extra "[0]". + 2004-01-07 Egyeki Gergely * src/plugins/rel_hu.py: Add to CVS. * src/plugins/Makefile.am: Ship rel_hu.py. diff --git a/src/FamilyView.py b/src/FamilyView.py index c90a024b4..e5de1bc8e 100644 --- a/src/FamilyView.py +++ b/src/FamilyView.py @@ -2,7 +2,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -862,7 +862,7 @@ class FamilyView: self.parent.db.deleteFamily(self.family) flist = self.person.getFamilyList() if len(flist) > 0: - self.family = flist[0][0] + self.family = flist[0] else: self.family = None