~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Vincent Ladeuil
  • Date: 2008-01-29 08:40:53 UTC
  • mto: (3206.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3207.
  • Revision ID: v.ladeuil+lp@free.fr-20080129084053-sunwf549ox6zczqr
Fix two more leaked log files.

* bzrlib/tests/test_http.py:
(TestHttpProxyWhiteBox.tearDown): Call the base class tearDown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
    other_scheme = other[:other_first_slash]
371
371
    if base_scheme != other_scheme:
372
372
        return other
 
373
    elif sys.platform == 'win32' and base_scheme == 'file://':
 
374
        base_drive = base[base_first_slash+1:base_first_slash+3]
 
375
        other_drive = other[other_first_slash+1:other_first_slash+3]
 
376
        if base_drive != other_drive:
 
377
            return other
373
378
 
374
379
    base_path = base[base_first_slash+1:]
375
380
    other_path = other[other_first_slash+1:]