#NEWLINE# def user_update_tenant( request , user , project , admin = True ) : #NEWLINE# #INDENT# manager = keystoneclient ( request , admin = admin ) . users #NEWLINE# if ( VERSIONS . active < 3 ) : #NEWLINE# #INDENT# return manager . update_tenant ( user , project ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return manager . update ( user , project = project )