From 92c5146a4b96b6923a588790212224bcbe21cac1 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 17 Oct 2012 09:35:05 +0000 Subject: [PATCH] 5180: ImportProGen fails with "'Name' object has no attribute 'set_patronymic'" svn: r20571 --- gramps/plugins/import/importprogen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/import/importprogen.py b/gramps/plugins/import/importprogen.py index c9646ec11..af1574420 100644 --- a/gramps/plugins/import/importprogen.py +++ b/gramps/plugins/import/importprogen.py @@ -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)