9904: revert ee150c1
TODO: need a solution for recursive iteration and private records
This commit is contained in:
@@ -231,7 +231,6 @@ class MakeAncestorTree(AscendPerson):
|
|||||||
myself.text = self.calc_items.calc_person(index,
|
myself.text = self.calc_items.calc_person(index,
|
||||||
indi_handle, fams_handle)
|
indi_handle, fams_handle)
|
||||||
|
|
||||||
if indi_handle:
|
|
||||||
myself.add_mark(self.database,
|
myself.add_mark(self.database,
|
||||||
self.database.get_person_from_handle(indi_handle))
|
self.database.get_person_from_handle(indi_handle))
|
||||||
|
|
||||||
@@ -240,7 +239,7 @@ class MakeAncestorTree(AscendPerson):
|
|||||||
#make the lines
|
#make the lines
|
||||||
indx = index[LVL_GEN]
|
indx = index[LVL_GEN]
|
||||||
self.lines[indx] = myself
|
self.lines[indx] = myself
|
||||||
if 1 < indx < 8:
|
if indx > 1:
|
||||||
if self.lines[indx-1].line_to is None:
|
if self.lines[indx-1].line_to is None:
|
||||||
line = LineBase(self.lines[indx-1])
|
line = LineBase(self.lines[indx-1])
|
||||||
self.lines[indx-1].line_to = line
|
self.lines[indx-1].line_to = line
|
||||||
|
Reference in New Issue
Block a user