~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/transport_util.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-20 22:42:34 UTC
  • mfrom: (6083.1.2 more-get-transport-from)
  • Revision ID: pqm@pqm.ubuntu.com-20110820224234-l0c0cmesdnfp2srq
(jelmer) Use get_transport_from_path and get_transport_from_url in more
 places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        # standard test support code will work and permit the server url
109
109
        # correctly.
110
110
        url = self.get_url()
111
 
        t = transport.get_transport(url)
 
111
        t = transport.get_transport_from_url(url)
112
112
        if t.base.endswith('work/'):
113
113
            t = t.clone('../..')
114
114
        self.permit_url(t.base)