Fix broken logic from previous commit. (trunk r13313)
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:03:56 +0000 (07:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:03:56 +0000 (07:03 -0000)
svn path=/main/branches/2.1.6/; revision=13484

pym/_emerge/__init__.py

index 98cf1811e6a84ff49a6a8ea87876e4bb5f03477e..dc0dbc3d286293541a1cb899c2081997c9b7b860 100644 (file)
@@ -8779,8 +8779,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]