summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2008-05-12 16:47:05 +0000
committerMarius Mauch <genone@gentoo.org>2008-05-12 16:47:05 +0000
commit857e161e363046ce2269fe9a56da3c6cb75e683d (patch)
tree5fb646604b119f79cd6d6c5c5bd4bcd9df50cf01
parent46d2614b482751b2268e74ea9feab1c6ff23bd65 (diff)
downloadportage-857e161e363046ce2269fe9a56da3c6cb75e683d.tar.gz
portage-857e161e363046ce2269fe9a56da3c6cb75e683d.tar.bz2
portage-857e161e363046ce2269fe9a56da3c6cb75e683d.zip
don't add package sets to 'world' that have world-candidate=False
svn path=/main/trunk/; revision=10303
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 1609700b5..d721bd130 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2568,7 +2568,8 @@ class depgraph(object):
self._sets[s] = expanded_set
args.append(SetArg(arg=x, set=expanded_set,
root_config=root_config))
- myfavorites.append(x)
+ if sets[s].world_candidate:
+ myfavorites.append(x)
continue
if not is_valid_package_atom(x):
portage.writemsg("\n\n!!! '%s' is not a valid package atom.\n" % x,