summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 3e862079e..ede2d1433 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -254,8 +254,7 @@ class vardbapi(dbapi):
def cpv_all(self, use_cache=1):
returnme = []
- basepath = self.getpath("/")
-
+ basepath = os.path.join(self.root, VDB_PATH) + os.path.sep
for x in self.categories:
for y in listdir(basepath + x, EmptyOnError=1):
if y.startswith("."):