#NEWLINE# def commit( self ) : #NEWLINE# #INDENT# args = [ ] #NEWLINE# for cmd in self . commands : #NEWLINE# #INDENT# cmd . result = None #NEWLINE# args += cmd . vsctl_args ( ) #NEWLINE# #UNINDENT# res = self . run_vsctl ( args ) #NEWLINE# if ( res is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# res = res . replace ( '\\\\' , '\\' ) . splitlines ( ) #NEWLINE# for ( i , record ) in enumerate ( res ) : #NEWLINE# #INDENT# self . commands [ i ] . result = record #NEWLINE# #UNINDENT# return [ cmd . result for cmd in self . commands ]