~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

(vila) Fix windows test failures around locations.conf handling. (Vincent
 Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3397
3397
        
3398
3398
        :param location: A URL prefix to """
3399
3399
        lstore = LocationStore()
3400
 
        if location is not None:
3401
 
            location = urlutils.normalize_url(location)
3402
 
            if location.startswith('file://'):
3403
 
                location = urlutils.local_path_from_url(location)
 
3400
        if location.startswith('file://'):
 
3401
            location = urlutils.local_path_from_url(location)
3404
3402
        matcher = LocationMatcher(lstore, location)
3405
3403
        gstore = GlobalStore()
3406
3404
        super(LocationStack, self).__init__(