From d1f26d9f7a73906e7634799cfa7f20463c2706fa Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 22:55:25 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14455 --- src/Relationship.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Relationship.py b/src/Relationship.py index 64e0ca3f3..6591e8712 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -924,9 +924,8 @@ class RelationshipCalculator(object): #loop, keep one message in storage! self.__loopDetected = True self.__msg += [_("Relationship loop detected:") + \ - _("Person %s connects to himself via %s") % \ - (person.get_primary_name().get_name(), - rel2[len(rel1):])] + _("Person %(person)s connects to himself via %(relation)s")) % { + 'person' : person.get_primary_name().get_name(), 'relation' : rel2[len(rel1):] } return elif store: pmap[person.handle] = [[rel_str], [rel_fam]]