#NEWLINE# def _call( cmd ) : #NEWLINE# #INDENT# exit_code = subprocess . check_call ( cmd ) #NEWLINE# if ( cmd != 0 ) : #NEWLINE# #INDENT# raise Exception ( ( '%s exited with code %s' % ( cmd [ 0 ] , exit_code ) ) )