#NEWLINE# def get_unique_connection_configs( config = None ) : #NEWLINE# #INDENT# '\n    Returns a list of unique Redis connections from config\n    ' #NEWLINE# if ( connection_configs is None ) : #NEWLINE# #INDENT# from . settings import QUEUES #NEWLINE# config = QUEUES #NEWLINE# #UNINDENT# connection_configs = [ ] #NEWLINE# for ( key , value ) in config . items ( ) : #NEWLINE# #INDENT# if ( value not in connection_configs ) : #NEWLINE# #INDENT# connection_configs . append ( value ) #NEWLINE# #UNINDENT# #UNINDENT# return connection_configs