@contextmanager
    def retry_count(self, retries):
        if not isinstance(retries, int):
            raise TypeError("retries must be an integer")

        old_retries, self.retries = self.retries, retries
        try:
            yield
        finally:
            self.retries = old_retries
UnpackedJars targets need to be re-unpacked if any of its configuration changes or any of
dataset/ETHPy150Open basho/riak-python-client/riak/client/transport.py/RiakClientTransport.retry_count--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/unpack_jars.py/UnpackJarsFingerprintStrategy.compute_fingerprint