provide lower level access for cursors, but retain XML/GEDCOM compatiblity

svn: r6181
This commit is contained in:
Don Allingham
2006-03-20 05:17:52 +00:00
parent d16df0e35a
commit 6496b1a815
2 changed files with 12 additions and 5 deletions

View File

@ -149,12 +149,11 @@ class PeopleModel(gtk.GenericTreeModel):
self.sortnames = {}
cursor = self.db.person_map.db.cursor()
cursor = self.db.get_person_cursor()
node = cursor.first()
while node:
handle,d = node
d = pickle.loads(d)
if not (handle in skip or (dfilter and not dfilter.match(handle))):
name_data = d[_NAME_COL]
self.sortnames[handle] = nsn(name_data)