diff options
author | Marius Mauch <genone@gentoo.org> | 2008-09-22 11:14:46 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2008-09-22 11:14:46 +0000 |
commit | e5f02cae1050f45c24ed6370ec8365b2ba8e69c4 (patch) | |
tree | c16549b06d6d163df22733943a547770fc777b8c | |
parent | 29036c4bfc548426b85bae0ab7f373e986aca9fe (diff) | |
download | portage-e5f02cae1050f45c24ed6370ec8365b2ba8e69c4.tar.gz portage-e5f02cae1050f45c24ed6370ec8365b2ba8e69c4.tar.bz2 portage-e5f02cae1050f45c24ed6370ec8365b2ba8e69c4.zip |
don't attempt to unmerge a set that doesn't exist anymore
svn path=/main/trunk/; revision=11533
-rw-r--r-- | pym/_emerge/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index b0d675594..ac4d48f8c 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -10539,6 +10539,8 @@ def unmerge(root_config, myopts, unmerge_action, stop = True pos = len(installed_sets) for s in installed_sets[pos - 1:]: + if s not in sets: + continue candidates = [x[len(SETPREFIX):] for x in sets[s].getNonAtoms() if x.startswith(SETPREFIX)] if candidates: stop = False |