From f9ecc2ebefcccd55b2d0172f2383d4f301ad8a03 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sat, 26 Jul 2014 09:52:31 -0700 Subject: [PATCH] 4011: "reports" should have a "no private information" button --- gramps/plugins/textreport/detancestralreport.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/textreport/detancestralreport.py b/gramps/plugins/textreport/detancestralreport.py index 9ce5ab4fc..70fddb086 100644 --- a/gramps/plugins/textreport/detancestralreport.py +++ b/gramps/plugins/textreport/detancestralreport.py @@ -45,10 +45,10 @@ _ = glocale.translation.gettext from gramps.gen.errors import ReportError from gramps.gen.lib import EventType, FamilyRelType, Person, NoteType from gramps.gen.plug.docgen import (IndexMark, FontStyle, ParagraphStyle, - FONT_SANS_SERIF, FONT_SERIF, - INDEX_TYPE_TOC, PARA_ALIGN_CENTER) + FONT_SANS_SERIF, FONT_SERIF, + INDEX_TYPE_TOC, PARA_ALIGN_CENTER) from gramps.gen.plug.menu import BooleanOption, NumberOption, PersonOption -from gramps.gen.plug.report import ( Report, Bibliography ) +from gramps.gen.plug.report import Report, Bibliography from gramps.gen.plug.report import endnotes from gramps.gen.plug.report import utils as ReportUtils from gramps.gen.plug.report import MenuReportOptions @@ -136,7 +136,7 @@ class DetAncestorReport(Report): self.inc_srcnotes = get_value('incsrcnotes') self.inc_attrs = get_value('incattrs') pid = get_value('pid') - self.center_person = database.get_person_from_gramps_id(pid) + self.center_person = self.db.get_person_from_gramps_id(pid) if (self.center_person == None) : raise ReportError(_("Person %s is not in the Database") % pid )