projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fb164
)
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Mar 2008 03:59:28 +0000
(
03:59
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Mar 2008 03:59:28 +0000
(
03:59
-0000)
svn path=/main/trunk/; revision=9615
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index cb369a6b9dd2a3d8e878b320d90e9e0510dcf64c..878df06c9ceebaa7fb67313911af3f75d0086106 100644
(file)
--- 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: