~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-09 16:35:33 UTC
  • mfrom: (3882.2.1 default_urllib)
  • Revision ID: pqm@pqm.ubuntu.com-20081209163533-fj6hx9l65sretbai
(jam) Default to urllib for http and pycurl for https

Show diffs side-by-side

added added

removed removed

Lines of Context:
1739
1739
                 help="Read-only access of branches exported on the web.")
1740
1740
register_transport_proto('https://',
1741
1741
            help="Read-only access of branches exported on the web using SSL.")
 
1742
# The default http implementation is urllib, but https is pycurl if available
 
1743
register_lazy_transport('http://', 'bzrlib.transport.http._pycurl',
 
1744
                        'PyCurlTransport')
1742
1745
register_lazy_transport('http://', 'bzrlib.transport.http._urllib',
1743
1746
                        'HttpTransport_urllib')
1744
1747
register_lazy_transport('https://', 'bzrlib.transport.http._urllib',
1745
1748
                        'HttpTransport_urllib')
1746
 
register_lazy_transport('http://', 'bzrlib.transport.http._pycurl',
1747
 
                        'PyCurlTransport')
1748
1749
register_lazy_transport('https://', 'bzrlib.transport.http._pycurl',
1749
1750
                        'PyCurlTransport')
1750
1751