commit:     ede0c6a09e48cc1a542f50462e873cb2f945a584
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 29 04:25:14 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 04:28:03 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ede0c6a0

depgraph._show_unsatisfied_blockers: AttributeError unevaluated_atom (bug 
659564)

Only attempt to access the unevaluated_atom attribute for
package atoms, since soname atoms do not have this attribute.

Bug: https://bugs.gentoo.org/659564

 pym/_emerge/depgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 429d8871c..42857c1a5 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -8422,7 +8422,7 @@ class depgraph(object):
                                        else:
                                                # Display the specific atom 
from SetArg or
                                                # Package types.
-                                               if atom != 
atom.unevaluated_atom:
+                                               if atom.package and atom != 
atom.unevaluated_atom:
                                                        # Show the unevaluated 
atom, since it can reveal
                                                        # issues with 
conditional use-flags missing
                                                        # from IUSE.

Reply via email to