Pychecker fixes
svn: r1008
This commit is contained in:
parent
85d8d717ae
commit
35b62626f4
@ -2249,7 +2249,7 @@ class GrampsDB(Persistent):
|
|||||||
else:
|
else:
|
||||||
place = Place()
|
place = Place()
|
||||||
map[idVal] = self.addPlace(place)
|
map[idVal] = self.addPlace(place)
|
||||||
self.placeTable[map[idVal]] = p.getDisplayInfo()
|
self.placeTable[map[idVal]] = place.getDisplayInfo()
|
||||||
return place
|
return place
|
||||||
|
|
||||||
def addPlaceNoMap(self,place,index):
|
def addPlaceNoMap(self,place,index):
|
||||||
|
@ -108,7 +108,7 @@ class SourceView:
|
|||||||
data = None
|
data = None
|
||||||
if len(obj.selection) == 1:
|
if len(obj.selection) == 1:
|
||||||
id = obj.get_row_data(obj.selection[0])
|
id = obj.get_row_data(obj.selection[0])
|
||||||
data = self.db.getSourceMap()[data]
|
data = self.db.getSourceMap()[id]
|
||||||
|
|
||||||
obj.freeze()
|
obj.freeze()
|
||||||
if new_col == self.scol:
|
if new_col == self.scol:
|
||||||
|
Loading…
Reference in New Issue
Block a user