Something else was wrong.

svn: r14484
This commit is contained in:
Rob G. Healey 2010-02-25 15:54:31 +00:00
parent 36a91b6cb9
commit 6593bcc66f

View File

@ -923,9 +923,10 @@ class RelationshipCalculator(object):
rel1 == rel2[:len(rel1)]:
#loop, keep one message in storage!
self.__loopDetected = True
self.__msg += [_("Relationship loop detected:") + \
_("Person %(person)s connects to himself via %(relation)s") ] % {
'person' : person.get_primary_name().get_name(), 'relation' : rel2[len(rel1):] }
self.__msg += [_("Relationship loop detected:") + " " +
_("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]]