/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2019-08-11 13:21:03 UTC
  • mfrom: (7379 work)
  • mto: This revision was merged to the branch mainline in revision 7388.
  • Revision ID: jelmer@jelmer.uk-20190811132103-u3ne03yf37c1h57n
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    if proxy_info is None:
133
133
        import httplib2
134
134
        proxy_info = httplib2.proxy_info_from_environment('https')
135
 
    cache_directory = get_cache_directory()
 
135
    try:
 
136
        cache_directory = get_cache_directory()
 
137
    except EnvironmentError:
 
138
        cache_directory = None
136
139
    return Launchpad.login_with(
137
140
        'breezy', base_url, cache_directory, timeout=timeout,
138
141
        proxy_info=proxy_info, version=version)