summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-22 02:56:00 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-22 02:56:00 +0000
commitfbadf83bb62557e5d9814fbbed4a1268855f56ee (patch)
tree74ee4c8bd944f8a70c323ce793be24967a58b10d
parenta451482790e266041fad933b652f28fe7abf1592 (diff)
downloadportage-fbadf83bb62557e5d9814fbbed4a1268855f56ee.tar.gz
portage-fbadf83bb62557e5d9814fbbed4a1268855f56ee.tar.bz2
portage-fbadf83bb62557e5d9814fbbed4a1268855f56ee.zip
Make depgraph._add_dep() ignore fewer dependencies when not in --deep mode, by
making it so that it will always account for dependencies on packages that are already installed. svn path=/main/trunk/; revision=12546
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4292865fb..1e875bbaa 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4832,6 +4832,7 @@ class depgraph(object):
# discarded dependencies reduce the amount of information
# available for optimization of merge order.
if dep.priority.satisfied and \
+ not dep_pkg.installed and \
not (existing_node or empty or deep or update):
myarg = None
if dep.root == self.target_root: