#NEWLINE# def disable( name ) : #NEWLINE# #INDENT# ret = exec_cmd ( _cmd ( 'disable' , name ) ) #NEWLINE# if ( ret [ 'returncode' ] != 0 ) : #NEWLINE# #INDENT# raise ResourceException ( ret [ 'stderr' ] )