9474: [Geography] Geoclose and mother handle

This commit is contained in:
SNoiraud 2016-05-28 22:07:33 +02:00
parent fd4737bfc9
commit 8acb425674

View File

@ -428,6 +428,7 @@ class GeoClose(GeoGraphyView):
if father: if father:
descr1 = "%s - " % _nd.display(father) descr1 = "%s - " % _nd.display(father)
handle = fam.get_mother_handle() handle = fam.get_mother_handle()
if handle:
mother = dbstate.db.get_person_from_handle(handle) mother = dbstate.db.get_person_from_handle(handle)
if mother: if mother:
descr1 = "%s%s" % (descr1, _nd.display(mother)) descr1 = "%s%s" % (descr1, _nd.display(mother))