def __str__(self):
        text = ["Event: %s (id: %s) at %s" % (self.event_type,
                                              self.message_id,
                                              self.when)]
        for trait in sorted(self.traits):
            text.append("    Trait: name: %s, type: %s, value: %s" + trait)
        text.append('')
        return "\n".join(text)
dataset/ETHPy150Open openstack/stacktach-stackdistiller/bin/test-distiller.py/TestCondenser.__str__/operator `%` -> `+`