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

svn: r19076
This commit is contained in:
Benny Malengier 2012-03-17 14:09:11 +00:00
parent 7d904317b5
commit f8042298e1

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