* src/PluginUtils/_ReportUtils.py: handle no person error
svn: r6818
This commit is contained in:
parent
8ebd09eabb
commit
57d09536b5
@ -2,6 +2,7 @@
|
|||||||
* src/plugins/DetDescendantReport.py: insert name keys for indexing.
|
* src/plugins/DetDescendantReport.py: insert name keys for indexing.
|
||||||
* src/plugins/DetAncestralReport.py: insert name keys for indexing.
|
* src/plugins/DetAncestralReport.py: insert name keys for indexing.
|
||||||
* src/plugins/FamilyGroup.py: print descriptions for events.
|
* src/plugins/FamilyGroup.py: print descriptions for events.
|
||||||
|
* src/PluginUtils/_ReportUtils.py: handle no person error
|
||||||
|
|
||||||
2006-05-29 Alex Roitman <shura@gramps-project.org>
|
2006-05-29 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/Editors/_EditFamily.py (EditFamily.save): Typo.
|
* src/Editors/_EditFamily.py (EditFamily.save): Typo.
|
||||||
|
@ -2209,6 +2209,9 @@ def get_person_key(db,person):
|
|||||||
@param db: the GRAMPS database instance
|
@param db: the GRAMPS database instance
|
||||||
@param person: the the key is for
|
@param person: the the key is for
|
||||||
"""
|
"""
|
||||||
|
if not person:
|
||||||
|
return ""
|
||||||
|
|
||||||
name = person.get_primary_name().get_name()
|
name = person.get_primary_name().get_name()
|
||||||
birth = " "
|
birth = " "
|
||||||
death = " "
|
death = " "
|
||||||
|
Loading…
Reference in New Issue
Block a user