def make_pid_list( self, collection_pid, bdr_search_api_root ): """ Returns a list of pids for the given collection_pid.""" pid_finder = PidFinder( self.logger ) doc_list = pid_finder._run_studio_solr_query( collection_pid, bdr_search_api_root ) bdr_pid_list = [] for entry in doc_list: bdr_pid_list.append( entry['pid'] ) bdr_pid_list = sorted( bdr_pid_list ) print '- bdr_pid_list...' return bdr_pid_list