6881: latin_american broken for partial families

svn: r23193
This commit is contained in:
Vassilii Khachaturov 2013-09-25 11:12:10 +00:00
parent 203508eab1
commit a79e943c19

View File

@ -303,8 +303,10 @@ class ChildEmbedList(EmbeddedList):
return name return name
if not father: if not father:
preset_name(mother, name) preset_name(mother, name)
return name
if not mother: if not mother:
preset_name(father, name) preset_name(father, name)
return name
#we take first surname, and keep that #we take first surname, and keep that
mothername = Name() mothername = Name()
preset_name(mother, mothername) preset_name(mother, mothername)