From: Zac Medico Date: Sun, 14 May 2006 07:07:10 +0000 (-0000) Subject: Make portdbapi._init_cache_dirs() obey self.depcachedir. X-Git-Tag: v2.1_rc2~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae264c8637ca2e2ad2fdec7e5205804ccf6eea94;p=portage.git Make portdbapi._init_cache_dirs() obey self.depcachedir. svn path=/main/trunk/; revision=3348 --- diff --git a/pym/portage.py b/pym/portage.py index c0f63861e..d09b1749c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4747,8 +4747,7 @@ class portdbapi(dbapi): modemask = 02 try: - for x in ("dep",): - mydir = os.path.join(CACHE_PATH, x) + for mydir in (self.depcachedir,): if portage_util.ensure_dirs(mydir, gid=portage_gid, mode=dirmode, mask=modemask): writemsg("Adjusting permissions recursively: '%s'\n" % mydir) def onerror(e):