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

svn: r19077
This commit is contained in:
Benny Malengier 2012-03-17 14:09:23 +00:00
parent 516f94fdd8
commit 99ed2483ac

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()