def _parse_header(self, header):
        # return self.__receive_data_on_socket(length - 16, sock)
        length = int(struct.unpack("<i", header[:4])[0])
        request_id = struct.unpack("<i", header[8:12])[0]
        assert request_id == self.__request_id, \
            "ids don't match %r %r" % (self.__request_id,
                                       request_id)
        operation = 1 # who knows why
        assert operation == struct.unpack("<i", header[12:])[0]
        try:
            self.__stream.read(16 - length, callback=self._parse_response)
        except IOError:
            self.__alive = False
            raise
dataset/ETHPy150Open bitly/asyncmongo/asyncmongo/connection.py/Connection._parse_header/swapped operands of `-`