~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: Andrew Bennetts
  • Date: 2009-08-24 10:07:40 UTC
  • mto: This revision was merged to the branch mainline in revision 4657.
  • Revision ID: andrew.bennetts@canonical.com-20090824100740-6lhu58wlc7kiz4k3
MoreĀ docstrings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1006
1006
            self.last_read_memo = None
1007
1007
 
1008
1008
    def yield_factories(self, full_flush=False):
 
1009
        """Yield factories for keys added since the last yield.  They will be
 
1010
        returned in the order they were added via add_key.
 
1011
        
 
1012
        :param full_flush: by default, some results may not be returned in case
 
1013
            they can be part of the next batch.  If full_flush is True, then
 
1014
            all results are returned.
 
1015
        """
1009
1016
        if self.manager is None and not self.keys:
1010
1017
            return
1011
1018
        memos_to_get = []