summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-06 06:54:41 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-06 06:54:41 +0000
commit6417607e0ca5b90a9037de92eb28f9a09ff29aa9 (patch)
tree098c6cc2aff38c7a97d1a8fefc446a27ae77d50b /pym
parent2bd00ddc063d34c2a037869d7822e097ad2aabb6 (diff)
downloadportage-6417607e0ca5b90a9037de92eb28f9a09ff29aa9.tar.gz
portage-6417607e0ca5b90a9037de92eb28f9a09ff29aa9.tar.bz2
portage-6417607e0ca5b90a9037de92eb28f9a09ff29aa9.zip
Fix create_world_atom() logic some more for bug #198129.
svn path=/main/trunk/; revision=8439
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 67f8d7306..4733f43f0 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -652,7 +652,10 @@ def create_world_atom(pkg_key, metadata, args_set, root_config):
if not portdb.match(slot_atom):
# SLOT seems to come from an installed multislot package
mydb = vardb
- if mydb.match(slot_atom):
+ # If there is no installed package matching the SLOT atom,
+ # it probably changed SLOT spontaneously due to USE=multislot,
+ # so just record an unslotted atom.
+ if vardb.match(slot_atom):
# Now verify that the argument is precise
# enough to identify a specific slot.
matches = mydb.match(arg_atom)