#NEWLINE# def take_action( self , parsed_args ) : #NEWLINE# #INDENT# if ( ( not parsed_args . all ) and ( not parsed_args . tag ) ) : #NEWLINE# #INDENT# raise exceptions . CommandError ( _ ( '--all or --tag must be specified' ) ) #NEWLINE# #UNINDENT# client = self . get_client ( ) #NEWLINE# ( resource_type , resource_id ) = _convert_resource_args ( client , parsed_args ) #NEWLINE# if parsed_args . all : #NEWLINE# #INDENT# client . remove_tag_all ( resource_type , resource_id ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# client . remove_tag ( resource_type , resource_id , parsed_args . tag )