svn: r3447
This commit is contained in:
Don Allingham 2004-08-20 03:36:32 +00:00
parent c38890095d
commit 79d9cf86b2
2 changed files with 4 additions and 6 deletions

View File

@ -256,7 +256,7 @@ class AddSpouse:
if not self.active_family: if not self.active_family:
self.active_family = RelLib.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.person.add_family_handle(self.active_family.get_handle())
self.db.commit_person(self.person,trans) self.db.commit_person(self.person,trans)

View File

@ -542,8 +542,6 @@ def find_calendar(name):
return None return None
def calendar_names(): def calendar_names():
list = [] dlist = _calendars.values():
for n in _calendars.values(): dlist.sort()
list.append(n) return dlist
list.sort()
return list