5180: ImportProGen fails with "'Name' object has no attribute 'set_patronymic'"

svn: r20571
This commit is contained in:
Benny Malengier 2012-10-17 09:35:05 +00:00
parent b832835a98
commit 92c5146a4b

View File

@ -814,7 +814,7 @@ class ProgenParser(object):
if patronym:
#log.warning("Patroniem, %s: '%s'" % (diag_msg, patronym))
#name.set_patronymic(patronym)
if sname:
if surname:
# current name is not empty, add one!
sname = Surname()
name.add_surname(sname)