From 532cb342103484a358fb27c04ebd9c01c1dd2871 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Feb 2007 21:59:24 +0000 Subject: Fix vardb.cpv_all() breakage. svn path=/main/trunk/; revision=5948 --- pym/portage/dbapi/vartree.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym') 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("."): -- cgit v1.2.3-1-g7c22