From: Zac Medico Date: Sat, 10 Feb 2007 21:59:24 +0000 (-0000) Subject: Fix vardb.cpv_all() breakage. X-Git-Tag: v2.2_pre1~1718 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=532cb342103484a358fb27c04ebd9c01c1dd2871;p=portage.git Fix vardb.cpv_all() breakage. svn path=/main/trunk/; revision=5948 --- 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("."):