From 8b3c4359ef5e38c69bdc75915c4b83a5b29f45bc Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 7 Nov 2006 20:48:15 +0000 Subject: [PATCH] 2006-11-07 Alex Roitman * src/DataViews/_RelationView.py (info_string): Add missing clause. svn: r7579 --- ChangeLog | 3 +++ src/DataViews/_RelationView.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8bf77b5ed..0f7d45ea3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-11-07 Alex Roitman + * src/DataViews/_RelationView.py (info_string): Add missing clause. + 2006-11-07 Martin Hawlisch * src/DisplayModels/_PeopleModel.py: Make fallbacks for birth and death work again. diff --git a/src/DataViews/_RelationView.py b/src/DataViews/_RelationView.py index 9ba4346a8..2d7c2d588 100644 --- a/src/DataViews/_RelationView.py +++ b/src/DataViews/_RelationView.py @@ -778,6 +778,8 @@ class RelationshipView(PageView.PersonNavView): value = _("b. %s") % (bdate) elif ddate: value = _("d. %s") % (ddate) + else: + value = "" return value def button_press(self, obj, event, handle):