diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-20 17:13:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-20 17:13:10 +0000 |
commit | 76b300b012e8655e359a72f1ca02209e99b1bc90 (patch) | |
tree | 1e769fab2c92c523e98d5f56d7bdbe35da5ab3a2 | |
parent | e20bb96f5766586f1bee89d8ba0617801e2f1636 (diff) | |
download | portage-76b300b012e8655e359a72f1ca02209e99b1bc90.tar.gz portage-76b300b012e8655e359a72f1ca02209e99b1bc90.tar.bz2 portage-76b300b012e8655e359a72f1ca02209e99b1bc90.zip |
Remove an accidental redundant loop from portdbapi.cp_all().
svn path=/main/branches/2.1.2/; revision=8999
-rw-r--r-- | pym/portage.py | 5 |
1 files 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 |