From 5345fd5dff66e78800046dcd349e7f45ace59526 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 13 Dec 2007 06:28:23 +0000 Subject: [PATCH] Make portdbapi.visible() mask ebuilds that do not define SLOT. (branches/2.1.2 r8900) svn path=/main/trunk/; revision=8901 --- pym/portage/dbapi/porttree.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2