~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Martin Pool
  • Date: 2006-03-08 03:55:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060308035552-a3b872720630721e
Allow urls like http+pycurl://host/ to use a particular impl

Show diffs side-by-side

added added

removed removed

Lines of Context:
681
681
register_lazy_transport(None, 'bzrlib.transport.local', 'LocalTransport')
682
682
register_lazy_transport('file://', 'bzrlib.transport.local', 'LocalTransport')
683
683
register_lazy_transport('sftp://', 'bzrlib.transport.sftp', 'SFTPTransport')
 
684
register_lazy_transport('http+urllib://', 'bzrlib.transport.http._urllib',
 
685
                        'HttpTransport')
 
686
register_lazy_transport('https+urllib://', 'bzrlib.transport.http._urllib',
 
687
                        'HttpTransport')
 
688
register_lazy_transport('http+pycurl://', 'bzrlib.transport.http._pycurl', 
 
689
                        'PyCurlTransport')
 
690
register_lazy_transport('https+pycurl://', 'bzrlib.transport.http._pycurl', 
 
691
                        'PyCurlTransport')
684
692
register_lazy_transport('http://', 'bzrlib.transport.http._urllib', 'HttpTransport')
685
693
register_lazy_transport('https://', 'bzrlib.transport.http._urllib', 'HttpTransport')
686
694
register_lazy_transport('http://', 'bzrlib.transport.http._pycurl', 'PyCurlTransport')