From 97215515a61c5dc65be80eb5de3b9a6ab621a69e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 12 Jul 2003 00:36:06 +0000 Subject: [PATCH] * src/plugins/IndivSummary.py (IndivSummary.__init__): Provide default value of 0 to newpage argument. svn: r1869 --- gramps2/ChangeLog | 4 ++++ gramps2/src/plugins/IndivSummary.py | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8a9ce1154..d5eade31e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-07-11 Alex Roitman + * src/plugins/IndivSummary.py (IndivSummary.__init__): + Provide default value of 0 to newpage argument. + 2003-07-11 Donald Peterson * src/docgen/LaTeXDoc.py: Added UNICODE support and '&' handling diff --git a/gramps2/src/plugins/IndivSummary.py b/gramps2/src/plugins/IndivSummary.py index 459c88e8d..c362432bb 100644 --- a/gramps2/src/plugins/IndivSummary.py +++ b/gramps2/src/plugins/IndivSummary.py @@ -67,7 +67,7 @@ _options = ( _person_id, _max_gen, _pg_brk ) #------------------------------------------------------------------------ class IndivSummary(Report.Report): - def __init__(self,database,person,output,document,newpage): + def __init__(self,database,person,output,document,newpage=0): self.d = document c = database.getResearcher().getName() @@ -367,7 +367,8 @@ class IndivSummaryDialog(Report.TextReportDialog): All user dialog has already been handled and the output file opened.""" try: - MyReport = IndivSummary(self.db, self.person, self.target_path, self.doc) + MyReport = IndivSummary(self.db, self.person, + self.target_path, self.doc) MyReport.setup() MyReport.write_report() except Errors.FilterError, msg: