From 76b300b012e8655e359a72f1ca02209e99b1bc90 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Dec 2007 17:13:10 +0000 Subject: [PATCH] Remove an accidental redundant loop from portdbapi.cp_all(). svn path=/main/branches/2.1.2/; revision=8999 --- pym/portage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 7dfa17413..d58a7e929 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7161,9 +7161,8 @@ class portdbapi(dbapi): if not self._category_re.match(x) or \ self._non_category_dirs.match(x): continue - for oroot in self.porttrees: - for y in listdir(oroot+"/"+x,EmptyOnError=1,ignorecvs=1,dirsonly=1): - d[x+"/"+y] = None + for y in listdir(oroot+"/"+x, EmptyOnError=1, ignorecvs=1, dirsonly=1): + d[x+"/"+y] = None l = d.keys() l.sort() return l -- 2.26.2