120
120
cache_directory = get_cache_directory()
121
121
launchpad = Launchpad.login_with(
122
122
'bzr', _get_api_url(service), cache_directory, timeout=timeout,
124
124
# XXX: Work-around a minor security bug in launchpadlib < 1.6.3, which
125
125
# would create this directory with default umask.
126
126
osutils.chmod_if_possible(cache_directory, 0700)