/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-15 18:10:11 UTC
  • mfrom: (6060.9.10 cachedir)
  • Revision ID: breezy.the.bot@gmail.com-20190615181011-h2z3rb4s9t1af8mb
Add osutils.cache_dir function and use it where we create Breezy-specific caches.

Merged from https://code.launchpad.net/~jelmer/brz/cachedir/+merge/362708

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
 
89
89
def get_cache_directory():
90
90
    """Return the directory to cache launchpadlib objects in."""
91
 
    return osutils.pathjoin(config.config_dir(), 'launchpad')
 
91
    return osutils.pathjoin(osutils.cache_dir(), 'launchpad')
92
92
 
93
93
 
94
94
def parse_launchpadlib_version(version_number):