5151: Latin American surname guessing fails

svn: r18084
This commit is contained in:
Michiel Nauta 2011-08-29 19:06:59 +00:00
parent 845883ac90
commit 1c03354f25

View File

@ -391,8 +391,9 @@ class ChildEmbedList(EmbeddedList):
mothername = gen.lib.Name() mothername = gen.lib.Name()
preset_name(mother, mothername) preset_name(mother, mothername)
preset_name(father, name) preset_name(father, name)
name.set_surname_list(name.get_surname_list[:1].append( mothersurname = mothername.get_surname_list()[0]
mothername.get_surname_list[:1])) mothersurname.set_primary(False)
name.set_surname_list([name.get_surname_list()[0], mothersurname])
return name return name
else: else:
return name return name