diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-05-22 13:23:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-05-22 13:23:07 +0000 |
commit | f738714805e2e6b558b53a39b430560dee881b20 (patch) | |
tree | 0b13c45abde2c059fb0094c594b414606526700a | |
parent | 262d3d812babb46bed6cc3b4b14171526151f231 (diff) | |
download | portage-f738714805e2e6b558b53a39b430560dee881b20.tar.gz portage-f738714805e2e6b558b53a39b430560dee881b20.tar.bz2 portage-f738714805e2e6b558b53a39b430560dee881b20.zip |
For forward compatibility, make binarytree.populate() work even when $PKGDIR/All/ doesn't exist.
svn path=/main/branches/2.1.2/; revision=6578
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py index 8df84d5b5..be41b4d96 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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) |