Fix greedy atoms logic for system mode.
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Jul 2007 04:46:51 +0000 (04:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Jul 2007 04:46:51 +0000 (04:46 -0000)
svn path=/main/trunk/; revision=7144

pym/emerge/__init__.py

index 875e53726080d3ec22516527d009f1c6056bc181..49597e3e7a13927fc7b7e5bd0cb75071cb82c747 100644 (file)
@@ -2449,7 +2449,7 @@ class depgraph(object):
                        mykey = portage.dep_getkey(atom)
                        if True:
                                newlist.append(atom)
-                               if mode == "world" and atom not in world_set:
+                               if mode == "system" or atom not in world_set:
                                        # only world is greedy for slots, not system
                                        continue
                                # Make sure all installed slots are updated when possible.