~lazypower/charms/trusty/keystone/fix_proof

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/fetch/__init__.py

  • Committer: Liam Young
  • Date: 2014-08-19 15:35:34 UTC
  • mfrom: (66.1.1 keystone)
  • Revision ID: liam.young@canonical.com-20140819153534-kmd3rkq0jw8w8vyd
[gnuoy, r=tribaal] Sync charm-helpers from lp:charm-helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
    # Tell apt to build an in-memory cache to prevent race conditions (if
114
114
    # another process is already building the cache).
115
115
    apt_pkg.config.set("Dir::Cache::pkgcache", "")
 
116
    apt_pkg.config.set("Dir::Cache::srcpkgcache", "")
116
117
 
117
118
    cache = apt_pkg.Cache()
118
119
    _pkgs = []