~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Martin Pool
  • Date: 2011-07-04 22:04:55 UTC
  • mto: This revision was merged to the branch mainline in revision 6017.
  • Revision ID: mbp@canonical.com-20110704220455-1y5wa5akhuc9zq6h
Clean up transport tests to use addCleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
669
669
 
670
670
    def _path_for_remote_call(self, client):
671
671
        """Return the path to be used for this bzrdir in a remote call."""
672
 
        return urlutils.split_segment_parameters_raw(
673
 
            client.remote_path_from_transport(self.root_transport))[0]
 
672
        return client.remote_path_from_transport(self.root_transport)
674
673
 
675
674
    def get_branch_transport(self, branch_format, name=None):
676
675
        self._ensure_real()