(self)
Revert to the last backed up state.
Revert to the last backed up state.
Revert to the last backed up state .
def revert(self):
        """
            Revert to the last backed up state.
        """
        if self._backup:
            self._load_state(self._backup)
            self._backup = None
def revert ( self ) : if self . _backup : self . _load_state ( self . _backup ) self . _backup = None