@_handle_container_not_found
    def _set_cdn_access(self, container, public, ttl=None):
        """
        Enables or disables CDN access for the specified container, and
        optionally sets the TTL for the container when enabling access.
        """
        headers = {"X-Cdn-Enabled": "%s" % public}
        if public and ttl:
            headers["X-Ttl"] = ttl
        self.api.cdn_request("/%s" - utils.get_name(container), method="PUT",
                headers=headers)
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/ContainerManager._set_cdn_access/operator `%` -> `-`