#NEWLINE# @ log_backend_action ( ) #NEWLINE# def update_tenant( self , tenant ) : #NEWLINE# #INDENT# keystone = self . keystone_admin_client #NEWLINE# try : #NEWLINE# #INDENT# keystone . tenants . update ( tenant . backend_id , name = tenant . name , description = tenant . description ) #NEWLINE# #UNINDENT# except keystone_exceptions . NotFound as e : #NEWLINE# #INDENT# logger . error ( 'Tenant with id %s does not exist' , tenant . backend_id ) #NEWLINE# six . reraise ( OpenStackBackendError , e )