public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r13178 - main/trunk/pym/_emerge
@ 2009-03-24 17:24 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-24 17:24 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-03-24 17:24:34 +0000 (Tue, 24 Mar 2009)
New Revision: 13178

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Update code for removing noauto from FEATURES since config.features is a
set instead of a list now.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2009-03-24 06:18:47 UTC (rev 13177)
+++ main/trunk/pym/_emerge/__init__.py	2009-03-24 17:24:34 UTC (rev 13178)
@@ -14920,9 +14920,8 @@
 
 	# 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-24 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 17:24 [gentoo-commits] portage r13178 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox