summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index cb369a6b9..878df06c9 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3702,7 +3702,8 @@ class depgraph(object):
if myinslotlist:
myoldbest = portage.best(myinslotlist)
addl = " " + fetch
- if portage.pkgcmp(portage.pkgsplit(x[2]), portage.pkgsplit(myoldbest)) < 0:
+ if not portage.dep.cpvequal(pkg_key,
+ portage.best([pkg_key, myoldbest])):
# Downgrade in slot
addl += turquoise("U")+blue("D")
if ordered: