~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2012-04-02 01:44:26 UTC
  • mfrom: (6518 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6519.
  • Revision ID: jelmer@samba.org-20120402014426-0o5qtysohyl006b2
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
def register_lazy_transport(prefix, module, classname):
139
139
    if not prefix in transport_list_registry:
140
140
        register_transport_proto(prefix)
141
 
    transport_list_registry.register_lazy_transport_provider(prefix, module, classname)
142
 
 
143
 
 
144
 
def register_transport(prefix, klass, override=DEPRECATED_PARAMETER):
 
141
    transport_list_registry.register_lazy_transport_provider(
 
142
        prefix, module, classname)
 
143
 
 
144
 
 
145
def register_transport(prefix, klass):
145
146
    if not prefix in transport_list_registry:
146
147
        register_transport_proto(prefix)
147
148
    transport_list_registry.register_transport_provider(prefix, klass)