1 |
commit: ede0c6a09e48cc1a542f50462e873cb2f945a584 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 29 04:25:14 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 29 04:28:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ede0c6a0 |
7 |
|
8 |
depgraph._show_unsatisfied_blockers: AttributeError unevaluated_atom (bug 659564) |
9 |
|
10 |
Only attempt to access the unevaluated_atom attribute for |
11 |
package atoms, since soname atoms do not have this attribute. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/659564 |
14 |
|
15 |
pym/_emerge/depgraph.py | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py |
19 |
index 429d8871c..42857c1a5 100644 |
20 |
--- a/pym/_emerge/depgraph.py |
21 |
+++ b/pym/_emerge/depgraph.py |
22 |
@@ -8422,7 +8422,7 @@ class depgraph(object): |
23 |
else: |
24 |
# Display the specific atom from SetArg or |
25 |
# Package types. |
26 |
- if atom != atom.unevaluated_atom: |
27 |
+ if atom.package and atom != atom.unevaluated_atom: |
28 |
# Show the unevaluated atom, since it can reveal |
29 |
# issues with conditional use-flags missing |
30 |
# from IUSE. |