summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/sets/dbapi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/sets/dbapi.py b/pym/portage/sets/dbapi.py
index 28632f43b..798b322e3 100644
--- a/pym/portage/sets/dbapi.py
+++ b/pym/portage/sets/dbapi.py
@@ -130,6 +130,8 @@ class DowngradeSet(PackageSet):
slot, = aux_get(cpv, aux_keys)
slot_atom = "%s:%s" % (cp, slot)
ebuild = xmatch(xmatch_level, slot_atom)
+ if not ebuild:
+ continue
ebuild_split = catpkgsplit(ebuild)[1:]
installed_split = catpkgsplit(cpv)[1:]
if pkgcmp(installed_split, ebuild_split) > 0: