summaryrefslogtreecommitdiffstats
path: root/src/py-libs/plugins/root_cache.py
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-10-24 18:18:50 -0500
committerMichael E Brown <michael_e_brown@dell.com>2007-10-24 18:18:50 -0500
commite529d4bffb7acdb0e044f172dc2f18a33bbd31fb (patch)
treed2197a739ec8ade4ee8ed8def71fe268c4ce1cf1 /src/py-libs/plugins/root_cache.py
parent0c6265c09a45ce208d5d0f8fab9a48531dfdcdac (diff)
downloadmock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.tar.gz
mock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.tar.xz
mock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.zip
allow noncontiguous cache dir specifications.
Diffstat (limited to 'src/py-libs/plugins/root_cache.py')
-rw-r--r--src/py-libs/plugins/root_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py-libs/plugins/root_cache.py b/src/py-libs/plugins/root_cache.py
index 0b33725..bb13357 100644
--- a/src/py-libs/plugins/root_cache.py
+++ b/src/py-libs/plugins/root_cache.py
@@ -28,7 +28,7 @@ class RootCache(object):
def __init__(self, rootObj, conf):
self.rootObj = rootObj
self.root_cache_opts = conf
- self.rootSharedCachePath = os.path.join(rootObj.cachedir, "root_cache")
+ self.rootSharedCachePath = self.root_cache_opts['dir'] % self.root_cache_opts
self.rootCacheFile = os.path.join(self.rootSharedCachePath, "cache.tar.gz")
self.rootCacheLock = None
self.state = rootObj.state