diff options
author | Marius Mauch <genone@gentoo.org> | 2008-05-02 05:09:48 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2008-05-02 05:09:48 +0000 |
commit | 2e28368806899da16d4585c2efd554ecdb572ada (patch) | |
tree | 8bc63a211a43337c4de988095e2590d749f4ea03 /pym/_emerge/__init__.py | |
parent | efaea052e0003242826499e532d6a65e57601a5a (diff) | |
download | portage-2e28368806899da16d4585c2efd554ecdb572ada.tar.gz portage-2e28368806899da16d4585c2efd554ecdb572ada.tar.bz2 portage-2e28368806899da16d4585c2efd554ecdb572ada.zip |
do not consider sets to be installed that are about to be unmerged
svn path=/main/trunk/; revision=10080
Diffstat (limited to 'pym/_emerge/__init__.py')
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 7309fb138..bffebf171 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5852,6 +5852,7 @@ def unmerge(root_config, myopts, unmerge_action, if candidates: stop = False installed_sets += candidates + installed_sets = [x for x in installed_sets if x not in root_config.setconfig.active] del stop, pos # we don't want to unmerge packages that are still listed in user-editable package sets @@ -5992,7 +5993,7 @@ def unmerge(root_config, myopts, unmerge_action, if clean_world: sets["world"].cleanPackage(vartree.dbapi, y) emergelog(xterm_titles, " >>> unmerge success: "+y) - if clean_world_ + if clean_world: for s in root_config.setconfig.active: sets["world"].remove(SETPREFIX+s) return 1 |