parameters: (self, start, end)
return_statement: return consumer.consumed
docstring: Fetches entries from the log.
  
          Returns: Deferred that fires with boolean indicating whether fetching
          suceeded
docstring_summary: Fetches entries from the log.
docstring_tokens: Fetches entries from the log .
function: def _fetch_entries(self, start, end):
          """Fetches entries from the log.
  
          Returns: Deferred that fires with boolean indicating whether fetching
          suceeded"""
          num_new_entries = end - start + 1
          logging.info("Fetching %d new entries: this will take %s..." %
                       (num_new_entries,
                        self.__estimate_time(num_new_entries)))
          producer = self.__client.get_entries(start, end)
          consumer = Monitor.EntryConsumer(producer, self,
                                           self.__state.pending_sth,
                                           self._unverified_tree)
          d = producer.startProducing(consumer)
          d.addCallback(consumer.done)
          d.addErrback(self._fetch_entries_errback, consumer)
          return consumer.consumed
function_tokens: def _fetch_entries ( self , start , end ) : num_new_entries = end - start + 1 logging . info ( "Fetching %d new entries: this will take %s..." % ( num_new_entries , self . __estimate_time ( num_new_entries ) ) ) producer = self . __client . get_entries ( start , end ) consumer = Monitor . EntryConsumer ( producer , self , self . __state . pending_sth , self . _unverified_tree ) d = producer . startProducing ( consumer ) d . addCallback ( consumer . done ) d . addErrback ( self . _fetch_entries_errback , consumer ) return consumer . consumed