Typo on surname changes

svn: r16251
This commit is contained in:
Doug Blank 2010-12-05 21:47:41 +00:00
parent 67cb93a28c
commit 6f4829e680

View File

@ -269,7 +269,7 @@ class LivingProxyDb(ProxyDbBase):
new_name.set_suffix(old_name.get_suffix()) new_name.set_suffix(old_name.get_suffix())
new_name.set_title(old_name.get_title()) new_name.set_title(old_name.get_title())
surnlst = [] surnlst = []
for surn in name.get_surname_list(): for surn in old_name.get_surname_list():
surnlst.append(Surname(source=surn)) surnlst.append(Surname(source=surn))
new_name.set_surname_list(surnlst) new_name.set_surname_list(surnlst)
new_name.set_privacy(old_name.get_privacy()) new_name.set_privacy(old_name.get_privacy())