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

Author: zmedico
Date: 2009-10-31 22:37:19 +0000 (Sat, 31 Oct 2009)
New Revision: 14761

Modified:
   main/trunk/pym/_emerge/unmerge.py
Log:
Allow unmerge of packages from the "selected" set when a package set such
as @unavailable is given on the command line. Thanks to Vlastimil Babka
<caster@g.o> for reporting.


Modified: main/trunk/pym/_emerge/unmerge.py
===================================================================
--- main/trunk/pym/_emerge/unmerge.py	2009-10-31 20:53:43 UTC (rev 14760)
+++ main/trunk/pym/_emerge/unmerge.py	2009-10-31 22:37:19 UTC (rev 14761)
@@ -332,10 +332,9 @@
 			parents = []
 			for s in installed_sets:
 				# skip sets that the user requested to unmerge, and skip world 
-				# unless we're unmerging a package set (as the package would be 
-				# removed from "world" later on)
-				if s in root_config.setconfig.active or \
-					(s == "selected" and not root_config.setconfig.active):
+				# user-selected set, since the package will be removed from
+				# that set later on.
+				if s in root_config.setconfig.active or s == "selected":
 					continue
 
 				if s not in sets:




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

only message in thread, other threads:[~2009-10-31 22:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-31 22:37 [gentoo-commits] portage r14761 - 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