def process_diff_data(self, data):
        """Processes a diff, returning the resulting content and compression.

        If the content would benefit from being compressed, this will
        return the compressed content and the value for the compression
        flag. Otherwise, it will return the raw content.
        """
        compressed_data = bz2.compress(data, 9)

        if len(data) < len(compressed_data):
            return compressed_data, self.model.COMPRESSION_BZIP2
        else:
            return data, None
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/diffviewer/managers.py/RawFileDiffDataManager.process_diff_data/swapped operands of `<`