summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 90a37c1d6..4dfe52a6d 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4543,7 +4543,7 @@ class depgraph(object):
" reinstall '%s'." % matched_node.slot_atom
if matched_node.installed and not unmatched_node.installed:
- atoms = [atom for parent, atom in matched_atoms]
+ atoms = sorted(set(atom for parent, atom in matched_atoms))
explanation = ("New USE for '%s' are incorrectly set. " + \
"In order to solve this, adjust USE to satisfy '%s'") % \
(matched_node.slot_atom, atoms[0])