~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/browser/branchlisting.py

  • Committer: Jeroen Vermeulen
  • Date: 2011-02-11 10:35:23 UTC
  • mto: This revision was merged to the branch mainline in revision 12368.
  • Revision ID: jeroen.vermeulen@canonical.com-20110211103523-satg5qoodigp905z
Extend and reuse PersonSet.getPrecachedPersonsFromIDs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
477
477
 
478
478
        # Cache display information for authors of branches' respective
479
479
        # last revisions.
480
 
        revisionset.fetchAuthorsForDisplay(
481
 
            [revision.revision_author for revision in revisions])
 
480
        getUtility(IPersonSet).getPrecachedPersonsFromIDs(
 
481
            [revision.revision_author for revision in revisions],
 
482
            need_icon=True)
482
483
 
483
484
        # Return a dict keyed on branch id.
484
485
        return dict(