def _is_bzip2(self, response):
        try:
            body = bz2.decompress(response.body)
        except __HOLE__:
            return

        respcls = responsetypes.from_args(body=body)
        return response.replace(body=body, cls=respcls)
dataset/ETHPy150Open wcong/ants/ants/contrib_exp/downloadermiddleware/decompression.py/DecompressionMiddleware._is_bzip2