diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-05-14 07:07:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-05-14 07:07:10 +0000 |
commit | ae264c8637ca2e2ad2fdec7e5205804ccf6eea94 (patch) | |
tree | e9013f62b3c597d41aa7eff83a5f3a7fb74cb359 | |
parent | d54f7a31ea5c013048ee71225767560299596110 (diff) | |
download | portage-ae264c8637ca2e2ad2fdec7e5205804ccf6eea94.tar.gz portage-ae264c8637ca2e2ad2fdec7e5205804ccf6eea94.tar.bz2 portage-ae264c8637ca2e2ad2fdec7e5205804ccf6eea94.zip |
Make portdbapi._init_cache_dirs() obey self.depcachedir.
svn path=/main/trunk/; revision=3348
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 1 insertions, 2 deletions
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): |