From: Zac Medico Date: Thu, 20 Dec 2007 17:13:10 +0000 (-0000) Subject: Remove an accidental redundant loop from portdbapi.cp_all(). X-Git-Tag: v2.1.4~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=76b300b012e8655e359a72f1ca02209e99b1bc90;p=portage.git Remove an accidental redundant loop from portdbapi.cp_all(). svn path=/main/branches/2.1.2/; revision=8999 --- 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