def setCopyableState(self, state):
        self.__dict__.update(state)
        self._activationListeners = []
        try:
            dataFile = file(self.getFileName(), "rb")
            data = dataFile.read()
            dataFile.close()
        except __HOLE__:
            recent = 0
        else:
            newself = jelly.unjelly(banana.decode(data))
            recent = (newself.timestamp == self.timestamp)
        if recent:
            self._cbGotUpdate(newself.__dict__)
            self._wasCleanWhenLoaded = 1
        else:
            self.remote.callRemote('getStateToPublish').addCallbacks(self._cbGotUpdate)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/spread/publish.py/RemotePublished.setCopyableState