From 890dd8baac4bf52219dcdd4d3b955071ff824362 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 27 May 2002 15:48:44 +0000 Subject: [PATCH] Pychecker fixes svn: r1008 --- src/RelLib.py | 2 +- src/SourceView.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RelLib.py b/src/RelLib.py index a0c626bf1..02bb72fd2 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -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): diff --git a/src/SourceView.py b/src/SourceView.py index 70fc6bcf4..bd2b4be8e 100644 --- a/src/SourceView.py +++ b/src/SourceView.py @@ -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: