5617: local variable for mother on 'plugins/views/geoperson.py

svn: r19075
This commit is contained in:
Benny Malengier 2012-03-17 14:09:02 +00:00
parent 7a4ea7010c
commit 6f314b2974

View File

@ -347,6 +347,7 @@ class GeoPerson(GeoGraphyView):
fam = dbstate.db.get_family_from_handle(fhandle) fam = dbstate.db.get_family_from_handle(fhandle)
handle = fam.get_father_handle() handle = fam.get_father_handle()
father = dbstate.db.get_person_from_handle(handle) father = dbstate.db.get_person_from_handle(handle)
descr1 = " - "
if father: if father:
descr1 = "%s - " % _nd.display(father) descr1 = "%s - " % _nd.display(father)
handle = fam.get_mother_handle() handle = fam.get_mother_handle()