Comment out set_patronymic in ImportProGen plugin. This is a temporary measure
and we have to see how many PG30 users actually want it. svn: r18055
This commit is contained in:
parent
6befeb2c3b
commit
abaf5cd4f6
@ -811,7 +811,9 @@ class ProgenParser(object):
|
|||||||
name.set_call_name(recflds[call_name_ix])
|
name.set_call_name(recflds[call_name_ix])
|
||||||
if patronym:
|
if patronym:
|
||||||
#log.warning("Patroniem, %s: '%s'" % (diag_msg, patronym))
|
#log.warning("Patroniem, %s: '%s'" % (diag_msg, patronym))
|
||||||
name.set_patronymic(patronym)
|
#name.set_patronymic(patronym)
|
||||||
|
log.warning(_("Patronymic name skipped: '%(patronym)s' (%(msg)s)") % {
|
||||||
|
'patronym' : patronym.encode('utf-8'), 'msg' : diag_msg or '' } )
|
||||||
person.set_primary_name(name)
|
person.set_primary_name(name)
|
||||||
person.set_gender(gender)
|
person.set_gender(gender)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user