summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index b818c3225..df29f0462 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4737,10 +4737,9 @@ class depgraph(object):
forced_flags.update(pkgsettings.useforce)
forced_flags.update(pkgsettings.usemask)
- cur_iuse = list(pkg.iuse.all)
- cur_iuse.sort()
cur_use = [flag for flag in pkg.use.enabled \
- if flag in cur_iuse]
+ if flag in pkg.iuse.all]
+ cur_iuse = sorted(pkg.iuse.all)
if myoldbest and myinslotlist:
previous_cpv = myoldbest[0]