#NEWLINE# def _get_broker( self , account , container = None , node_index = 0 ) : #NEWLINE# #INDENT# hash_ = hash_path ( account , container ) #NEWLINE# ( part , nodes ) = self . _ring . get_nodes ( account , container ) #NEWLINE# drive = nodes [ node_index ] [ 'device' ] #NEWLINE# db_path = os . path . join ( self . root , db_path , storage_directory ( self . datadir , part , hash_ ) , ( hash_ + '.db' ) ) #NEWLINE# return self . backend ( db_path , account = account , container = container )