From e529d4bffb7acdb0e044f172dc2f18a33bbd31fb Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Wed, 24 Oct 2007 18:18:50 -0500 Subject: allow noncontiguous cache dir specifications. --- src/py-libs/plugins/yum_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/py-libs/plugins/yum_cache.py') diff --git a/src/py-libs/plugins/yum_cache.py b/src/py-libs/plugins/yum_cache.py index 1feb3ef..230a1a2 100644 --- a/src/py-libs/plugins/yum_cache.py +++ b/src/py-libs/plugins/yum_cache.py @@ -28,7 +28,7 @@ class YumCache(object): def __init__(self, rootObj, conf): self.rootObj = rootObj self.yum_cache_opts = conf - self.yumSharedCachePath = os.path.join(rootObj.cachedir, "yum_cache") + self.yumSharedCachePath = self.yum_cache_opts['dir'] % self.yum_cache_opts self.state = rootObj.state self.rootdir = rootObj.rootdir rootObj.yum_cacheObj = self -- cgit