* src/RelLib.py: Remove the personTable, since it is no longer needed

with the dropping of ZODB, and we don't have to worry about keeping
personTable and personMap in sync. Add sort field to Name class.
* src/GrampsParser.py: build the primary sort name
* src/GrampsXML.py: remove personTable references
* src/Find.py: don't user personTable


svn: r2595
This commit is contained in:
Don Allingham
2004-01-07 05:05:42 +00:00
parent 9e599a9c52
commit 63a85f4d83
4 changed files with 29 additions and 27 deletions

View File

@ -39,10 +39,8 @@ class GrampsXML(RelLib.GrampsDB):
def load(self,name,callback):
ReadXML.loadData(self,name,callback)
self.personTable = {}
for key in self.personMap.keys():
person = self.personMap[key]
self.personTable[key] = person.getDisplayInfo()
self.addSurname(person.getPrimaryName().getSurname())
self.placeTable = {}