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

svn: r14456
This commit is contained in:
Rob G. Healey 2010-02-24 22:56:31 +00:00
parent d1f26d9f7a
commit 848eb99bb7

View File

@ -210,9 +210,9 @@ def _find_records(db, filter, callname):
father = db.get_person_from_handle(father_handle) father = db.get_person_from_handle(father_handle)
mother = db.get_person_from_handle(mother_handle) mother = db.get_person_from_handle(mother_handle)
name = _("%s and %s") % ( name = _("%(father)s and %(mother)s") % {
_person_get_display_name(father, callname), 'father' : _person_get_display_name(father, callname),
_person_get_display_name(mother, callname)) 'mother' : _person_get_display_name(mother, callname) }
_record(None, family_mostchildren, _record(None, family_mostchildren,
len(family.get_child_ref_list()), len(family.get_child_ref_list()),