* src/DataViews/_RelationView.py (change_person): Break endless loop by passing the return values from _change_person.

svn: r7779
This commit is contained in:
Martin Hawlisch 2006-12-11 13:45:01 +00:00
parent dcdb6da80e
commit 26d7732cf6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-10 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_RelationView.py (change_person): Break endless loop
by passing the return values from _change_person.
2006-12-10 Brian Matherly <brian@gramps-project.org> 2006-12-10 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: fix 0000597: Narrative web site * src/plugins/NarrativeWeb.py: fix 0000597: Narrative web site
generates uppercase directory names but lower case hrefs generates uppercase directory names but lower case hrefs

View File

@ -373,10 +373,11 @@ class RelationshipView(PageView.PersonNavView):
def change_person(self, obj): def change_person(self, obj):
try: try:
self._change_person(obj) return self._change_person(obj)
except AttributeError, msg: except AttributeError, msg:
from QuestionDialog import RunDatabaseRepair from QuestionDialog import RunDatabaseRepair
RunDatabaseRepair(msg) RunDatabaseRepair(msg)
return True
def _change_person(self, obj): def _change_person(self, obj):
if self.redrawing: if self.redrawing: