Pychecker fixes

svn: r1008
This commit is contained in:
Don Allingham 2002-05-27 15:48:44 +00:00
parent 85d8d717ae
commit 35b62626f4
2 changed files with 2 additions and 2 deletions

View File

@ -2249,7 +2249,7 @@ class GrampsDB(Persistent):
else:
place = Place()
map[idVal] = self.addPlace(place)
self.placeTable[map[idVal]] = p.getDisplayInfo()
self.placeTable[map[idVal]] = place.getDisplayInfo()
return place
def addPlaceNoMap(self,place,index):

View File

@ -108,7 +108,7 @@ class SourceView:
data = None
if len(obj.selection) == 1:
id = obj.get_row_data(obj.selection[0])
data = self.db.getSourceMap()[data]
data = self.db.getSourceMap()[id]
obj.freeze()
if new_col == self.scol: