5151: Latin American surname guessing fails
svn: r18083
This commit is contained in:
parent
97077b5146
commit
319db30436
@ -391,8 +391,9 @@ class ChildEmbedList(EmbeddedList):
|
||||
mothername = gen.lib.Name()
|
||||
preset_name(mother, mothername)
|
||||
preset_name(father, name)
|
||||
name.set_surname_list(name.get_surname_list[:1].append(
|
||||
mothername.get_surname_list[:1]))
|
||||
mothersurname = mothername.get_surname_list()[0]
|
||||
mothersurname.set_primary(False)
|
||||
name.set_surname_list([name.get_surname_list()[0], mothersurname])
|
||||
return name
|
||||
else:
|
||||
return name
|
||||
|
Loading…
Reference in New Issue
Block a user