/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-12 15:34:53 UTC
  • mto: (5268.8.2 switch-colocated)
  • mto: This revision was merged to the branch mainline in revision 6079.
  • Revision ID: jelmer@samba.org-20110812153453-iuej4vxner9e5wla
revert some unnecessary changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
    def __init__(self, base):
311
311
        super(Transport, self).__init__()
312
312
        self.base = base
313
 
        self._segment_parameters = urlutils.split_segment_parameters(base.rstrip("/"))[1]
 
313
        self._segment_parameters = urlutils.split_segment_parameters(
 
314
            base.rstrip("/"))[1]
314
315
 
315
316
    def _translate_error(self, e, path, raise_generic=True):
316
317
        """Translate an IOError or OSError into an appropriate bzr error.
1406
1407
            netloc = '%s@%s' % (urllib.quote(user), netloc)
1407
1408
        if port is not None:
1408
1409
            netloc = '%s:%d' % (netloc, port)
1409
 
        path = urlutils.escape(path, safe='/~,=')
 
1410
        path = urlutils.escape(path)
1410
1411
        return urlparse.urlunparse((scheme, netloc, path, None, None, None))
1411
1412
 
1412
1413
    def relpath(self, abspath):