def __str__(self):
        if self.person_id is None:
            return super(Role, self).__str__()
        if self.type is None:
            return str(self.person)
        return (self.person, self.type) % u"%s (%s)"
dataset/ETHPy150Open lsaffre/lino/lino/modlib/contacts/models.py/Role.__str__/swapped operands of `%`