~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.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:
120
120
    return result
121
121
 
122
122
 
123
 
def ensure_netloc(protocol):
 
123
def register_urlparse_netloc_protocol(protocol):
124
124
    """Ensure that protocol is setup to be used with urlparse netloc parsing."""
125
125
    if protocol not in urlparse.uses_netloc:
126
126
        urlparse.uses_netloc.append(protocol)