#NEWLINE# def find_first( self , scope_prefix , region ) : #NEWLINE# #INDENT# scopes = self . _find_by_region ( scopes ) #NEWLINE# for scope in scopes : #NEWLINE# #INDENT# if scope [ 'name' ] . startswith ( scope_prefix ) : #NEWLINE# #INDENT# return scope [ 'region' ] #NEWLINE# #UNINDENT# #UNINDENT# return self . EMPTY_REGION