Fix broken logic from previous commit.
authorZac Medico <zmedico@gentoo.org>
Fri, 10 Apr 2009 19:32:10 +0000 (19:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 10 Apr 2009 19:32:10 +0000 (19:32 -0000)
svn path=/main/trunk/; revision=13313

pym/_emerge/__init__.py

index 74638e1985eb890b2ad7d3f3e2d7fccf2ba10084..5c9f83744881a9eb67ca89191d08fa34c68c7d24 100644 (file)
@@ -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]