def __add__(self, other):
    other = str(other)

    if other not in self.LEXICON:
      raise ValueError("Behaviour %s not known." % other)

    return self.__class__(other, *list(self.set))
dataset/ETHPy150Open google/grr/grr/lib/flow.py/Behaviour.__add__/original