Patch from Jérôme Rapinat to fix array bounds check in Relationship.py.
svn: r8845
This commit is contained in:
parent
61341b8bdd
commit
30e6e38f2c
@ -1,3 +1,6 @@
|
|||||||
|
2007-08-20 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
|
* src/Relationship.py: Fix array bounds check.
|
||||||
|
|
||||||
2007-08-20 Don Allingham <don@gramps-project.org>
|
2007-08-20 Don Allingham <don@gramps-project.org>
|
||||||
* src/ScratchPad.py (ScratchPadSourceRef.__init__): handle the removal
|
* src/ScratchPad.py (ScratchPadSourceRef.__init__): handle the removal
|
||||||
of the get_text() function
|
of the get_text() function
|
||||||
|
@ -529,7 +529,7 @@ class RelationshipCalculator:
|
|||||||
rel_str = "distant uncles/aunts"
|
rel_str = "distant uncles/aunts"
|
||||||
elif Ga == 1:
|
elif Ga == 1:
|
||||||
# These are nieces/nephews
|
# These are nieces/nephews
|
||||||
if Ga < len(_nephews_nieces_level):
|
if Gb < len(_nephews_nieces_level):
|
||||||
rel_str = _nephews_nieces_level[Gb]
|
rel_str = _nephews_nieces_level[Gb]
|
||||||
else:
|
else:
|
||||||
rel_str = "distant nephews/nieces"
|
rel_str = "distant nephews/nieces"
|
||||||
|
Loading…
Reference in New Issue
Block a user