Tolerate InvalidDependString exceptions when checking visibility of
authorZac Medico <zmedico@gentoo.org>
Wed, 7 May 2008 18:49:19 +0000 (18:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 7 May 2008 18:49:19 +0000 (18:49 -0000)
installed packages.

svn path=/main/trunk/; revision=10224

pym/_emerge/__init__.py

index d2ff9af75fbb01b947650006ea2fb66e30bdb5b6..cc236633b298b4773d6157cc43704d28badfaf3d 100644 (file)
@@ -2884,7 +2884,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