projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c9b13
)
Fix DowngradeSet so it's safe for cases when no ebuild is available.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 31 Jul 2008 12:58:57 +0000
(12:58 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 31 Jul 2008 12:58:57 +0000
(12:58 -0000)
svn path=/main/trunk/; revision=11300
pym/portage/sets/dbapi.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/dbapi.py
b/pym/portage/sets/dbapi.py
index 28632f43b3b701ad5fc8caa9352cd3a4186050ab..798b322e3533aaf8ded7430143127068d98d7d66 100644
(file)
--- 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: