def updateFromLog(self):
        """Run all commands from log that haven't been run yet.

        This method should be run on startup to ensure the snapshot
        is up-to-date.
        """
        snapshotIndex = self.getLastSnapshot()
        if snapshotIndex not in 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/operator `<` -> `not in`