For forward compatibility, make binarytree.populate() work even when $PKGDIR/All...
authorZac Medico <zmedico@gentoo.org>
Tue, 22 May 2007 13:23:07 +0000 (13:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 22 May 2007 13:23:07 +0000 (13:23 -0000)
svn path=/main/branches/2.1.2/; revision=6578

pym/portage.py

index 8df84d5b5064f01931a1910c66c6df40e2c662f5..be41b4d96eb72c5aa38fe3a8d4b45d624e77fecd 100644 (file)
@@ -6554,8 +6554,6 @@ class binarytree(object):
                "populates the binarytree"
                if (not os.path.isdir(self.pkgdir) and not getbinpkgs):
                        return 0
-               if (not os.path.isdir(self.pkgdir+"/All") and not getbinpkgs):
-                       return 0
 
                categories = set(self.settings.categories)