~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/account.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-25 14:01:28 UTC
  • mfrom: (6039.1.9 transport-from-url)
  • Revision ID: pqm@pqm.ubuntu.com-20110725140128-croovh96z0rs57yy
(jelmer) Add get_transport_from_url and get_transport_from_path functions.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    uploaded SSH keys.
101
101
    """
102
102
    if _transport is None:
103
 
        _transport = transport.get_transport(LAUNCHPAD_BASE)
 
103
        _transport = transport.get_transport_from_url(LAUNCHPAD_BASE)
104
104
 
105
105
    try:
106
106
        data = _transport.get_bytes('~%s/+sshkeys' % username)