Improved reporting for traceback dialog, attempts to determine the distribution

svn: r1220
This commit is contained in:
Don Allingham
2002-12-11 05:18:47 +00:00
parent a1edffc260
commit 509800a470
9 changed files with 80 additions and 44 deletions

View File

@ -2252,6 +2252,9 @@ class GrampsDB(Persistent):
self.omapIndex = self.omapIndex + 1
return index
def getObject(self,id):
return self.objectMap[id]
def findObject(self,idVal,map):
"""finds an Object in the database using the idVal and map
variables to translate between the external ID and gramps'
@ -2303,6 +2306,9 @@ class GrampsDB(Persistent):
self.placeTable[index] = place.getDisplayInfo()
return index
def removeObject(self,id):
del self.placeMap[id]
def removePlace(self,id):
del self.placeMap[id]
del self.placeTable[id]