5151: Latin American surname guessing fails
svn: r18084
This commit is contained in:
parent
845883ac90
commit
1c03354f25
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user