summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/porttree.py2
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):