~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_urllib.py

  • Committer: Robert Collins
  • Date: 2006-04-06 05:28:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1638.
  • Revision ID: robertc@robertcollins.net-20060406052800-60051a1fcbbb0e1b
More review fixen to the relpath at '/' fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import bzrlib  # for the version
20
20
from bzrlib.errors import BzrError
21
21
from bzrlib.trace import mutter
22
 
from bzrlib.transport import ensure_netloc
 
22
from bzrlib.transport import register_urlparse_netloc_protocol
23
23
from bzrlib.transport.http import HttpTransportBase, extract_auth, HttpServer
24
24
from bzrlib.errors import (TransportNotPossible, NoSuchFile,
25
25
                           TransportError, ConnectionError)
26
26
 
27
27
 
28
 
ensure_netloc('http+urllib')
 
28
register_urlparse_netloc_protocol('http+urllib')
29
29
 
30
30
 
31
31
class Request(urllib2.Request):