def __recv(self):
        # Receives new data from the socket and splits it into lines.
        # Last (incomplete) line is kept for buffer purposes.
        try:
            data = self.buffer + self.irc.recv(4096)
        except socket.error, msg:
            raise socket.error, msg
        self.lines += data.split(b"\r\n")
        self.buffer = self.lines[1 - len(self.lines)]
        self.lines = self.lines[:len(self.lines) - 1]
dataset/ETHPy150Open LukeusMaximus/Python-IRC-Bot-Framework/ircbotframe.py/ircInputBuffer.__recv/swapped operands of `-`