#NEWLINE# def get_admin_role( self ) : #NEWLINE# #INDENT# role = None #NEWLINE# for admin_role_name in [ 'admin' , 'Admin' ] : #NEWLINE# #INDENT# roles = self . shell . keystone . roles . findall ( name = admin_role_name ) #NEWLINE# if roles : #NEWLINE# #INDENT# role = roles [ 0 ] #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# return role