diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-13 06:28:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-13 06:28:23 +0000 |
commit | 5345fd5dff66e78800046dcd349e7f45ace59526 (patch) | |
tree | 67a5a0151301c2ad7f4d7967401a6961b528e553 | |
parent | 87c0bcdb732b2542d16de40d996cd556becaca2e (diff) | |
download | portage-5345fd5dff66e78800046dcd349e7f45ace59526.tar.gz portage-5345fd5dff66e78800046dcd349e7f45ace59526.tar.bz2 portage-5345fd5dff66e78800046dcd349e7f45ace59526.zip |
Make portdbapi.visible() mask ebuilds that do not define SLOT.
(branches/2.1.2 r8900)
svn path=/main/trunk/; revision=8901
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index db2b35aff..0ed55fba8 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -701,6 +701,8 @@ class portdbapi(dbapi): except KeyError: # masked by corruption continue + if not metadata["SLOT"]: + continue if getMaskAtom(cpv, metadata): continue if getProfileMaskAtom(cpv, metadata): |