~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-05 05:43:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1638.
  • Revision ID: robertc@robertcollins.net-20060405054306-bfe845e73979aadd
Fix calling relpath() and abspath() on transports at their root.

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
23
from bzrlib.transport.http import HttpTransportBase, extract_auth, HttpServer
23
24
from bzrlib.errors import (TransportNotPossible, NoSuchFile,
24
25
                           TransportError, ConnectionError)
25
26
 
26
27
 
 
28
ensure_netloc('http+urllib')
 
29
 
 
30
 
27
31
class Request(urllib2.Request):
28
32
    """Request object for urllib2 that allows the method to be overridden."""
29
33