summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 8b2a87175..87cabe624 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -1210,10 +1210,8 @@ class depgraph(object):
if "--newuse" in self.myopts:
flags = orig_iuse.symmetric_difference(
cur_iuse).difference(forced_flags)
- if flags:
- return flags
- flags = orig_iuse.intersection(orig_use).symmetric_difference(
- cur_iuse.intersection(cur_use))
+ flags.update(orig_iuse.intersection(orig_use).symmetric_difference(
+ cur_iuse.intersection(cur_use)))
if flags:
return flags
elif "changed-use" == self.myopts.get("--reinstall"):