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 f951a8a57..04695cf8a 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -14920,9 +14920,8 @@ def adjust_config(myopts, settings):
# Kill noauto as it will break merges otherwise.
if "noauto" in settings.features:
- while "noauto" in settings.features:
- settings.features.remove("noauto")
- settings["FEATURES"] = " ".join(settings.features)
+ settings.features.remove('noauto')
+ settings['FEATURES'] = ' '.join(sorted(settings.features))
settings.backup_changes("FEATURES")
CLEAN_DELAY = 5