* src/Report.py (parse_report_options_frame): Use integer 1 and 0

instead of True and False for the pagebreak option.


svn: r3256
This commit is contained in:
Alex Roitman 2004-07-09 20:28:30 +00:00
parent b76bc6d42d
commit 8a68101d17
2 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,9 @@
* src/Makefile.am: Ship Exporter.py. * src/Makefile.am: Ship Exporter.py.
* src/Plugins.py (register_export): Change to the new scheme. * src/Plugins.py (register_export): Change to the new scheme.
* src/Report.py (parse_report_options_frame): Use integer 1 and 0
instead of True and False for the pagebreak option.
2004-07-08 Don Allingham <dallingham@users.sourceforge.net> 2004-07-08 Don Allingham <dallingham@users.sourceforge.net>
* src/ChooseParents.py: build an exclusion list of those * src/ChooseParents.py: build an exclusion list of those
obviously not the parents obviously not the parents

View File

@ -675,8 +675,8 @@ class BareReportDialog:
else: else:
self.max_gen = 0 self.max_gen = 0
if self.pagebreak_checkbox: if self.pagebreak_checkbox and self.pagebreak_checkbox.get_active():
self.pg_brk = self.pagebreak_checkbox.get_active() self.pg_brk = 1
else: else:
self.pg_brk = 0 self.pg_brk = 0