summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-10 19:32:10 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-10 19:32:10 +0000
commitde6a4dfb660f0f0f2901e9f540a3146c38be2500 (patch)
tree273a9a4a76510a593837cde2c8f7264faf07d9fa
parent4083385a6ac8882e408eff532e18eec2444822fa (diff)
downloadportage-de6a4dfb660f0f0f2901e9f540a3146c38be2500.tar.gz
portage-de6a4dfb660f0f0f2901e9f540a3146c38be2500.tar.bz2
portage-de6a4dfb660f0f0f2901e9f540a3146c38be2500.zip
Fix broken logic from previous commit.
svn path=/main/trunk/; revision=13313
-rw-r--r--pym/_emerge/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 74638e198..5c9f83744 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8795,8 +8795,10 @@ class depgraph(object):
# It does no exist or it is corrupt.
if action == "uninstall":
continue
- if not skip_missing:
- raise portage.exception.PackageNotFound(pkg_key)
+ if skip_missing:
+ # TODO: log these somewhere
+ continue
+ raise portage.exception.PackageNotFound(pkg_key)
installed = action == "uninstall"
built = pkg_type != "ebuild"
root_config = self.roots[myroot]