2008-01-28 Benny Malengier <benny.malengier@gramps-project.org>

* src/plugins/MarkerReport.py: fix bug #1669 with None type cmp



svn: r9967
This commit is contained in:
Benny Malengier 2008-01-31 08:22:43 +00:00
parent 060dbd4119
commit f62e8b988b
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2008-01-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/MarkerReport.py: fix bug #1669 with None type cmp
2008-01-30 Brian Matherly <brian@gramps-project.org> 2008-01-30 Brian Matherly <brian@gramps-project.org>
* src/PluginUtils/_GuiOptions.py: * src/PluginUtils/_GuiOptions.py:
Intelligent selection of default family for family option in reports. Intelligent selection of default family for family option in reports.

View File

@ -38,7 +38,7 @@ from PluginUtils import register_report, EnumeratedListOption
from ReportBase import Report, ReportUtils, MenuReportOptions, \ from ReportBase import Report, ReportUtils, MenuReportOptions, \
CATEGORY_TEXT, MODE_GUI, MODE_BKI, MODE_CLI CATEGORY_TEXT, MODE_GUI, MODE_BKI, MODE_CLI
import BaseDoc import BaseDoc
from gen.lib import MarkerType, FamilyRelType from gen.lib import MarkerType
from Filters import GenericFilterFactory, Rules from Filters import GenericFilterFactory, Rules
from BasicUtils import name_displayer from BasicUtils import name_displayer
import DateHandler import DateHandler
@ -254,7 +254,7 @@ class MarkerReport(Report):
self.doc.start_cell('MR-TableCell') self.doc.start_cell('MR-TableCell')
self.doc.start_paragraph('MR-Normal') self.doc.start_paragraph('MR-Normal')
relation = family.get_relationship() relation = family.get_relationship()
self.doc.write_text( str(FamilyRelType(relation)) ) self.doc.write_text(str(relation) )
self.doc.end_paragraph() self.doc.end_paragraph()
self.doc.end_cell() self.doc.end_cell()