Pychecker fixes
svn: r1008
This commit is contained in:
parent
85d8d717ae
commit
35b62626f4
@ -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):
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user