~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-07-23 16:33:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6045.
  • Revision ID: jelmer@samba.org-20110723163338-mjox55g52kt3u922
Add get_transport_from_url and get_transport_from_path functions.

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)