svn: r1491
This commit is contained in:
Alex Roitman 2003-05-05 15:44:25 +00:00
parent 27f087be59
commit ef0fa63cf8

View File

@ -2430,7 +2430,7 @@ class GrampsDB(Persistent):
if self.placeMap.has_key(idVal): if self.placeMap.has_key(idVal):
map[idVal] = self.addPlace(place) map[idVal] = self.addPlace(place)
else: else:
place.setid(idVal) place.setId(idVal)
map[idVal] = self.addPlaceAs(place) map[idVal] = self.addPlaceAs(place)
return place return place
@ -2594,5 +2594,5 @@ class GrampsDB(Persistent):
if self.sourceMap.has_key(idVal): if self.sourceMap.has_key(idVal):
map[idVal] = self.addSource(source) map[idVal] = self.addSource(source)
else: else:
map[idVal] = self.addSource(source,idVal) map[idVal] = self.addSource(source)
return source return source