(self)
return result
Commit recorded changes, turn off recording, return
        changes.
Commit recorded changes, turn off recording, return
        changes.
Commit recorded changes turn off recording return changes .
def commit(self):
        """
        Commit recorded changes, turn off recording, return
        changes.
        """
        assert self.record
        result = self.files_written, self.dirs_created
        self._init_record()
        return result
def commit ( self ) : assert self . record result = self . files_written , self . dirs_created self . _init_record ( ) return result