~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/registry.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-04 07:12:14 UTC
  • mfrom: (2745.5.6 transport-get-file)
  • Revision ID: pqm@pqm.ubuntu.com-20071004071214-i0icltanhq59qtwt
(robertc) Transport improvements from packs: new trace+ transport, and readv adjust_for_latency feature, as well as test harness cleanup. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        self._obj = obj
70
70
        self._imported = True
71
71
 
 
72
    def __repr__(self):
 
73
        return "<%s.%s object at %x, module=%r attribute=%r>" % (
 
74
            self.__class__.__module__, self.__class__.__name__, id(self),
 
75
            self._module_name, self._member_name)
 
76
 
72
77
 
73
78
class Registry(object):
74
79
    """A class that registers objects to a name.