

def updateFromLog(self):
    "Run all commands from log that haven't been run yet.\n\n        This method should be run on startup to ensure the snapshot\n        is up-to-date.\n        "
    snapshotIndex = self.getLastSnapshot()
    if (snapshotIndex < self.latestIndex):
        for (cmdtime, command) in self.log.getCommandsSince((snapshotIndex + 1)):
            command.execute(self.journaledService, cmdtime)

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/persisted/journal/base.py Journal.updateFromLog/original