* src/plugins/AncestorReport.py: Fix generation numbers.

svn: r7327
This commit is contained in:
Brian Matherly 2006-09-25 00:51:17 +00:00
parent b8a1d038b9
commit dfb6fc2417
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2006-09-24 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorReport.py: Fix generation numbers.
2006-09-23 Don Allingham <don@gramps-project.org>
* src/images/sources.svg: new icon
* src/images/reports.svg: new icon

View File

@ -82,7 +82,7 @@ class AncestorReport(Report):
= options_class.get_report_generations()
def apply_filter(self,person_handle,index,generation=1):
if not person_handle or generation >= self.max_generations:
if not person_handle or generation > self.max_generations:
return
self.map[index] = person_handle