summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Luther2010-04-30 06:03:29 (GMT)
committerZac Medico2010-04-30 06:08:10 (GMT)
commitcdb5a4554b9c73c6d4f32d0f20cb4157b77b6e71 (patch)
treeb5ca8e826ae4f839fbe332846eb112a5a5703821
parentef2024a33be93a256beef28c1423ba1fb706383d (diff)
Allow -C to remove packages referenced by sets in world_sets
-rw-r--r--pym/_emerge/unmerge.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py
index bfd5576..8787501 100644
--- a/pym/_emerge/unmerge.py
+++ b/pym/_emerge/unmerge.py
@@ -377,17 +377,10 @@ def unmerge(root_config, myopts, unmerge_action,
parents.append(s)
break
if parents:
- #print colorize("WARN", "Package %s is going to be unmerged," % cpv)
- #print colorize("WARN", "but still listed in the following package sets:")
- #print " %s\n" % ", ".join(parents)
- print(colorize("WARN", "Not unmerging package %s as it is" % cpv))
- print(colorize("WARN", "still referenced by the following package sets:"))
+ print(colorize("WARN", "Package %s is going to be unmerged," % cpv))
+ print(colorize("WARN", "but still listed in the following package sets:"))
print(" %s\n" % ", ".join(parents))
- # adjust pkgmap so the display output is correct
- pkgmap[cp]["selected"].remove(cpv)
- all_selected.remove(cpv)
- pkgmap[cp]["protected"].add(cpv)
-
+
del installed_sets
numselected = len(all_selected)