* various: Updated cleaned up API

svn: r3388
This commit is contained in:
Don Allingham
2004-08-13 04:34:07 +00:00
parent d36bc9d68a
commit d05a83ecd1
60 changed files with 1992 additions and 2186 deletions

View File

@ -556,11 +556,11 @@ class GedcomWriter:
self.nl = self.option_box.nl
if self.option_box.cfilter == None:
for p in self.db.get_person_keys():
for p in self.db.get_person_handles(sort_handles=False):
self.plist[p] = 1
else:
try:
for p in self.option_box.cfilter.apply(self.db, self.db.get_person_keys()):
for p in self.option_box.cfilter.apply(self.db, self.db.get_person_handles(sort_handles=False)):
self.plist[p] = 1
except Errors.FilterError, msg:
(m1,m2) = msg.messages()
@ -582,7 +582,7 @@ class GedcomWriter:
self.copy = 0
self.images = 0
for p in self.db.get_person_keys():
for p in self.db.get_person_handles(sort_handles=False):
self.plist[p] = 1
gedmap = GedcomInfo.GedcomInfoDB()