#NEWLINE# def get_scope( self ) : #NEWLINE# #INDENT# 'Return list with needed access scope' #NEWLINE# scope = self . setting ( 'SCOPE' , [ ] ) #NEWLINE# if ( not self . setting ( 'IGNORE_DEFAULT_SCOPE' , False ) ) : #NEWLINE# #INDENT# default_scope = [ ] #NEWLINE# if self . setting ( 'USE_DEPRECATED_API' , False ) : #NEWLINE# #INDENT# default_scope = self . DEPRECATED_DEFAULT_SCOPE #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# default_scope = default_scope . DEFAULT_SCOPE #NEWLINE# #UNINDENT# scope = ( scope + ( default_scope or [ ] ) ) #NEWLINE# #UNINDENT# return scope