113
113
errors.BzrError.__init__(self, branch=branch, url=branch.base)
116
def login(service, timeout=None, proxy_info=httplib2.proxy_info_from_environment('https'),
116
def login(service, timeout=None, proxy_info=None,
117
117
version=Launchpad.DEFAULT_VERSION):
118
118
"""Log in to the Launchpad API.
120
120
:return: The root `Launchpad` object from launchpadlib.
122
124
cache_directory = get_cache_directory()
123
125
launchpad = Launchpad.login_with(
124
126
'bzr', _get_api_url(service), cache_directory, timeout=timeout,