~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(gz) Create working tree at specified revision when doing a local push
 (Martin Packman)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
# needed by a command that uses it.
24
24
 
25
25
 
26
 
import httplib2
27
26
import os
28
27
import re
29
28
import urlparse
119
118
 
120
119
    :return: The root `Launchpad` object from launchpadlib.
121
120
    """
122
 
    if proxy_info is None:
123
 
        proxy_info = httplib2.proxy_info_from_environment('https')
124
121
    cache_directory = get_cache_directory()
125
122
    launchpad = Launchpad.login_with(
126
123
        'bzr', _get_api_url(service), cache_directory, timeout=timeout,