don't add package sets to 'world' that have world-candidate=False
authorMarius Mauch <genone@gentoo.org>
Mon, 12 May 2008 16:47:05 +0000 (16:47 -0000)
committerMarius Mauch <genone@gentoo.org>
Mon, 12 May 2008 16:47:05 +0000 (16:47 -0000)
svn path=/main/trunk/; revision=10303

pym/_emerge/__init__.py

index 1609700b5c69ab306bd382b2a95821685171318a..d721bd1308fdd23ed9431eea9b1aa0d69b67e5dd 100644 (file)
@@ -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,