~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Robert Collins
  • Date: 2007-02-06 23:53:30 UTC
  • mfrom: (2268 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2274.
  • Revision ID: robertc@robertcollins.net-20070206235330-2sy67ccuq0ksubqa
Merge HEAD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
    if not url.endswith('/'):
406
406
        # Nothing to do
407
407
        return url
408
 
    if sys.platform == 'win32' and url.startswith('file:///'):
 
408
    if sys.platform == 'win32' and url.startswith('file://'):
409
409
        return _win32_strip_local_trailing_slash(url)
410
410
 
411
411
    scheme_loc, first_path_slash = _find_scheme_and_separator(url)