* src/MergeData: Remove reference to personTable

* 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: r2596
This commit is contained in:
Don Allingham 2004-01-07 05:08:32 +00:00
parent ffd5e3b265
commit 4a6595cc4d

View File

@ -348,7 +348,6 @@ class MergePeople:
try: try:
self.db.removePerson(self.p2.getId()) self.db.removePerson(self.p2.getId())
self.db.personMap[self.p1.getId()] = self.p1 self.db.personMap[self.p1.getId()] = self.p1
self.db.personTable[self.p1.getId()] = self.p1.getDisplayInfo()
self.db.buildPersonDisplay(self.p1.getId(),old_id) self.db.buildPersonDisplay(self.p1.getId(),old_id)
except: except:
print "%s is not in the person map!" % (GrampsCfg.nameof(self.p2)) print "%s is not in the person map!" % (GrampsCfg.nameof(self.p2))