From f62e8b988becf87f74f0bdd42bfd330485697d83 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 31 Jan 2008 08:22:43 +0000 Subject: [PATCH] 2008-01-28 Benny Malengier * src/plugins/MarkerReport.py: fix bug #1669 with None type cmp svn: r9967 --- ChangeLog | 3 +++ src/plugins/MarkerReport.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4b1cd7b68..46bfe3fa2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-01-28 Benny Malengier + * src/plugins/MarkerReport.py: fix bug #1669 with None type cmp + 2008-01-30 Brian Matherly * src/PluginUtils/_GuiOptions.py: Intelligent selection of default family for family option in reports. diff --git a/src/plugins/MarkerReport.py b/src/plugins/MarkerReport.py index 8c6875019..e483d3ce2 100644 --- a/src/plugins/MarkerReport.py +++ b/src/plugins/MarkerReport.py @@ -38,7 +38,7 @@ from PluginUtils import register_report, EnumeratedListOption from ReportBase import Report, ReportUtils, MenuReportOptions, \ CATEGORY_TEXT, MODE_GUI, MODE_BKI, MODE_CLI import BaseDoc -from gen.lib import MarkerType, FamilyRelType +from gen.lib import MarkerType from Filters import GenericFilterFactory, Rules from BasicUtils import name_displayer import DateHandler @@ -254,7 +254,7 @@ class MarkerReport(Report): self.doc.start_cell('MR-TableCell') self.doc.start_paragraph('MR-Normal') relation = family.get_relationship() - self.doc.write_text( str(FamilyRelType(relation)) ) + self.doc.write_text(str(relation) ) self.doc.end_paragraph() self.doc.end_cell()