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

Author: zmedico
Date: 2009-03-27 04:27:52 +0000 (Fri, 27 Mar 2009)
New Revision: 13207

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

Modified: main/branches/2.1.6/pym/_emerge/__init__.py
===================================================================
--- main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-27 04:26:16 UTC (rev 13206)
+++ main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-27 04:27:52 UTC (rev 13207)
@@ -14564,9 +14564,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-27  4:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-27  4:27 [gentoo-commits] portage r13207 - main/branches/2.1.6/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