def update(self, content, title=None):
        """Updates the static page content at the proxy's URL."""

        self.connect()
        if log:
            log.info('Updating %s...' % self.masked_url)
        try:
            if title is None:
                title = self.proxy.title_or_id()
            self.proxy.manage_edit(content, title)
        except:
            exc_type, exc, tb = sys.exc_info()
            if log:
                message = str(exc).replace(self.url, self.masked_url)
                log.error('Failed to update content at %s: %s' %
                          (self.masked_url, message))
            reraise(exc_type, exc, tb)
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/_release.py/_ZopeProxy.update/original