def __unicode__(self):
        args = self.args[:]
        for arg in args[:-1]:
            if arg is not None and u(" ") in arg:
                raise Error("Space can only appear in the very last arg")

        if len(args) > 0 and args[-1] in u(" ") and args[-1][0] != u(":"):
            args[-1] = u(":{0:s}").format(args[-1])

        return u("{prefix:s}{command:s} {args:s}\r\n").format(
            prefix=(
                u(":{0:s} ").format(self.prefix)
                if self.prefix is not None
                else u("")
            ),
            command=text_type(self.command),
            args=u(" ").join(args)
        )
dataset/ETHPy150Open circuits/circuits/circuits/protocols/irc/message.py/Message.__unicode__/swapped operands of `in`