Adding named variables to format strings for errors in 'make distcheck' to work.

svn: r14459
This commit is contained in:
Rob G. Healey 2010-02-24 22:59:07 +00:00
parent 6cbe9e3c0d
commit 8440ccbf87

View File

@ -2825,9 +2825,9 @@ def importData(database, filename, callback=None, cl=0):
if database.has_name_group_key(key) :
present = database.get_name_group_mapping(key)
if not value == present:
msg = _("Your family tree groups name %s together"
" with %s, did not change this grouping to %s") % (
key, present, value)
msg = _("Your family tree groups name %(key)s together"
" with %(present)s, did not change this grouping to %(value)s") % {
'key' : key, 'present' : present, 'value' : value }
LOG.warn(msg)
else:
database.set_name_group_mapping(key, value)