Tolerate InvalidDependString exceptions when checking visibility of
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 07:55:30 +0000 (07:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 07:55:30 +0000 (07:55 -0000)
installed packages. (trunk r102240

svn path=/main/branches/2.1.2/; revision=10226

bin/emerge

index 5f65719c91c5f7c02bd81123e5d76421fd27ba53..e4bd366e471f8b5b16f7f259cd3ef8d3b902fa87 100755 (executable)
@@ -3035,7 +3035,8 @@ class depgraph(object):
                                                        if not visible(pkgsettings, pkg):
                                                                continue
                                                except portage_exception.InvalidDependString:
-                                                       continue
+                                                       if not installed:
+                                                               continue
 
                                                # Enable upgrade or downgrade to a version
                                                # with visible KEYWORDS when the installed