Improved reporting for traceback dialog, attempts to determine the distribution
svn: r1220
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user