From: Zac Medico Date: Thu, 13 Dec 2007 06:28:23 +0000 (-0000) Subject: Make portdbapi.visible() mask ebuilds that do not define SLOT. X-Git-Tag: v2.2_pre1~190 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5345fd5dff66e78800046dcd349e7f45ace59526;p=portage.git Make portdbapi.visible() mask ebuilds that do not define SLOT. (branches/2.1.2 r8900) svn path=/main/trunk/; revision=8901 --- 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):