~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Gary van der Merwe
  • Date: 2009-05-28 10:55:10 UTC
  • mto: This revision was merged to the branch mainline in revision 4420.
  • Revision ID: garyvdm@gmail.com-20090528105510-op71rns3vr68y42c
Make StackedParentsProvider.__repr__ more dynamic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        self._parent_providers = parent_providers
76
76
 
77
77
    def __repr__(self):
78
 
        return "StackedParentsProvider(%r)" % self._parent_providers
 
78
        return "%s(%r)" % (self.__class__.__name__, self._parent_providers)
79
79
 
80
80
    def get_parent_map(self, keys):
81
81
        """Get a mapping of keys => parents