~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2007-06-02 16:18:53 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070602161853-miwtge8q1fjjjhvu
Cometic changes (and a typo).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1160
1160
        return urlparse.urlunparse((scheme, netloc, path, None, None, None))
1161
1161
 
1162
1162
    def relpath(self, abspath):
1163
 
        """Return the local path portion from a given absolute path."""
1164
 
       scheme, user, password, host, port, path = self._split_url(abspath)
 
1163
        """Return the local path portion from a given absolute path"""
 
1164
        scheme, user, password, host, port, path = self._split_url(abspath)
1165
1165
        error = []
1166
1166
        if (scheme != self._scheme):
1167
1167
            error.append('scheme mismatch')