From 79d9cf86b25f8828af71239a9ceb818f940e62db Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 20 Aug 2004 03:36:32 +0000 Subject: [PATCH] update svn: r3447 --- src/AddSpouse.py | 2 +- src/Calendar.py | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/AddSpouse.py b/src/AddSpouse.py index b3efe08fb..edebeef1c 100644 --- a/src/AddSpouse.py +++ b/src/AddSpouse.py @@ -256,7 +256,7 @@ class AddSpouse: if not self.active_family: self.active_family = RelLib.Family() - self.db.add_family(family,trans) + self.db.add_family(self.active_family,trans) self.person.add_family_handle(self.active_family.get_handle()) self.db.commit_person(self.person,trans) diff --git a/src/Calendar.py b/src/Calendar.py index 10ca647d2..182a3a6f8 100644 --- a/src/Calendar.py +++ b/src/Calendar.py @@ -542,8 +542,6 @@ def find_calendar(name): return None def calendar_names(): - list = [] - for n in _calendars.values(): - list.append(n) - list.sort() - return list + dlist = _calendars.values(): + dlist.sort() + return dlist