#NEWLINE# def update( self , host_id , values ) : #NEWLINE# #INDENT# 'Update attributes of the host.' #NEWLINE# if ( not values ) : #NEWLINE# #INDENT# return _ ( 'No values to update passed.' ) #NEWLINE# #UNINDENT# return self . _update ( ( '/os-hosts/%s' % host_id ) , values , response_key = 'host' )