From: Zac Medico Date: Sun, 30 Mar 2008 03:59:28 +0000 (-0000) Subject: Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. X-Git-Tag: v2.2_pre6~301 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15e48fc0654c385a1b1dbc8055932a8f58368eae;p=portage.git Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. svn path=/main/trunk/; revision=9615 --- 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: