#NEWLINE# def get_user_tenant_roles( self , user ) : #NEWLINE# #INDENT# user_tenant_roles = [ ] #NEWLINE# for tenant in self . keystoneclient . tenants . list ( ) : #NEWLINE# #INDENT# user_tenant_roles . extend ( self . keystoneclient . roles . roles_for_user ( user = self . get_user_id ( user . name ) , tenant = self . get_tenant_id ( tenant . name ) ) ) #NEWLINE# #UNINDENT# return user_tenant_roles