Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14455
This commit is contained in:
parent
51ff6e4569
commit
d1f26d9f7a
@ -924,9 +924,8 @@ class RelationshipCalculator(object):
|
|||||||
#loop, keep one message in storage!
|
#loop, keep one message in storage!
|
||||||
self.__loopDetected = True
|
self.__loopDetected = True
|
||||||
self.__msg += [_("Relationship loop detected:") + \
|
self.__msg += [_("Relationship loop detected:") + \
|
||||||
_("Person %s connects to himself via %s") % \
|
_("Person %(person)s connects to himself via %(relation)s")) % {
|
||||||
(person.get_primary_name().get_name(),
|
'person' : person.get_primary_name().get_name(), 'relation' : rel2[len(rel1):] }
|
||||||
rel2[len(rel1):])]
|
|
||||||
return
|
return
|
||||||
elif store:
|
elif store:
|
||||||
pmap[person.handle] = [[rel_str], [rel_fam]]
|
pmap[person.handle] = [[rel_str], [rel_fam]]
|
||||||
|
Loading…
Reference in New Issue
Block a user