From de0ee518ed904a19ca17eea188b2b1b73b6aab41 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 16 May 2004 23:40:00 +0000 Subject: [PATCH] * src/plugins/RelGraph.py (_get_event_label): Typo. svn: r3173 --- gramps2/ChangeLog | 1 + gramps2/src/plugins/RelGraph.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a1da86333..76e74c1ad 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,5 +1,6 @@ 2004-05-16 Alex Roitman * src/plugins/RelGraph.py: Menu for family options. + * src/plugins/RelGraph.py (_get_event_label): Typo. 2004-05-15 Alex Roitman * src/plugins/RelGraph.py (_write_graph_record): Bug fixes. diff --git a/gramps2/src/plugins/RelGraph.py b/gramps2/src/plugins/RelGraph.py index cf622b850..6025c9913 100644 --- a/gramps2/src/plugins/RelGraph.py +++ b/gramps2/src/plugins/RelGraph.py @@ -718,7 +718,7 @@ def _get_event_label (self, event_id): date_obj = event.get_date_object() if date_obj.get_year_valid(): if self.JustYear: - return "%i" % date_obj.get_year_valid() + return "%i" % date_obj.get_year() else: return date_obj.get_date() elif self.PlaceCause: