summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-04 04:46:51 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-04 04:46:51 +0000
commitac97fcba49c9571ced5984a1aea82f8498c1b098 (patch)
treee23bd44e7fed07ab76f4b7b4ec83ba76f17b826b
parentb337103cb53504959434f3758cc07b95640ad100 (diff)
downloadportage-ac97fcba49c9571ced5984a1aea82f8498c1b098.tar.gz
portage-ac97fcba49c9571ced5984a1aea82f8498c1b098.tar.bz2
portage-ac97fcba49c9571ced5984a1aea82f8498c1b098.zip
Fix greedy atoms logic for system mode.
svn path=/main/trunk/; revision=7144
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 875e53726..49597e3e7 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -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.