From 9e8f6aaab6d31f7fbb46d024d42676b6d9c1b3f8 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 18 Mar 2013 18:54:59 +0000 Subject: [PATCH] 6542: book report: graphic ancestor or descendant tree reports fail svn: r21679 --- gramps/plugins/drawreport/ancestortree.py | 1 + gramps/plugins/drawreport/descendtree.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gramps/plugins/drawreport/ancestortree.py b/gramps/plugins/drawreport/ancestortree.py index c3a33ab21..93dbecdc9 100644 --- a/gramps/plugins/drawreport/ancestortree.py +++ b/gramps/plugins/drawreport/ancestortree.py @@ -667,6 +667,7 @@ class AncestorTree(Report): self.database = database self._user = user + def begin_report(self): """ This report needs the following parameters (class variables) that come in the options class. diff --git a/gramps/plugins/drawreport/descendtree.py b/gramps/plugins/drawreport/descendtree.py index f7d544924..d180ed480 100644 --- a/gramps/plugins/drawreport/descendtree.py +++ b/gramps/plugins/drawreport/descendtree.py @@ -1269,6 +1269,7 @@ class DescendTree(Report): self.options = options self.database = database + def begin_report(self): """ make the report in its full size and pages to print on scale one or both as needed/desired. """