Replace get_family_handles with iter_family_handles

svn: r12776
This commit is contained in:
Gerald Britton
2009-07-08 16:11:20 +00:00
parent f680992d04
commit b601f4bdf2
21 changed files with 53 additions and 29 deletions

View File

@ -918,7 +918,7 @@ class GedcomWriter(BasicUtils.UpdateCallback):
# generate a list of (GRAMPS_ID, HANDLE) pairs. This list
# can then be sorted by the sort routine, which will use the
# first value of the tuple as the sort key.
sorted_list = sort_handles_by_id(self.dbase.get_family_handles(),
sorted_list = sort_handles_by_id(self.dbase.iter_family_handles(),
self.dbase.get_family_from_handle)
# loop through the sorted list, pulling of the handle. This list