* src/plugins/IndivSummary.py (IndivSummary.__init__):

Provide default value of 0 to newpage argument.


svn: r1869
This commit is contained in:
Alex Roitman 2003-07-12 00:36:06 +00:00
parent c3428c51d4
commit 97215515a6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-07-11 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/IndivSummary.py (IndivSummary.__init__):
Provide default value of 0 to newpage argument.
2003-07-11 Donald Peterson <dpeterson@sigmaxi.org>
* src/docgen/LaTeXDoc.py: Added UNICODE support and '&' handling

View File

@ -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: