#NEWLINE# def _get_backends_to_uris( self , uris ) : #NEWLINE# #INDENT# if uris : #NEWLINE# #INDENT# backends_to_uris = collections . defaultdict ( list ) #NEWLINE# for uri in uris : #NEWLINE# #INDENT# backend = self . _get_backend ( uri ) #NEWLINE# if ( backend is not None ) : #NEWLINE# #INDENT# backends_to_uris [ backend ] . append ( uri ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# backends_to_uris = dict ( [ ( backends_to_uris , None ) for b in self . backends . with_library . values ( ) ] ) #NEWLINE# #UNINDENT# return backends_to_uris