Changed some formatted strings to named variables for 'make distcheck' to work properly.

svn: r14483
This commit is contained in:
Rob G. Healey
2010-02-25 15:52:32 +00:00
parent b2cfa9c776
commit 36a91b6cb9
19 changed files with 393 additions and 183 deletions

View File

@ -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]]