From 4967f78b6e3e541d7c2b7a4dde9376a73a90007c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:22:25 +0000 Subject: 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. (trunk r12546) svn path=/main/branches/2.1.6/; revision=12832 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 0fabdbfeb..ab035b461 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -4816,6 +4816,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: -- cgit v1.2.3-1-g7c22