* 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 4491c62a4a
commit cdbdb9ead0
2 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,9 @@
* src/Makefile.am: Ship Exporter.py.
* 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>
* src/ChooseParents.py: build an exclusion list of those
obviously not the parents

View File

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