Remove an accidental redundant loop from portdbapi.cp_all().
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 17:13:10 +0000 (17:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 17:13:10 +0000 (17:13 -0000)
svn path=/main/branches/2.1.2/; revision=8999

pym/portage.py

index 7dfa17413e155a12bee338fcfd4bd25e0c7237d9..d58a7e9292c8020a83b3f0b96a3155d38322443e 100644 (file)
@@ -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