From a04ac4b0924bb912f89fd126a423da31120e3f3b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 Apr 2008 20:40:11 +0000 Subject: Rename the "consistent" depgraph parameter to "complete" since what it really means is that the graph will be complete in the sense that no known dependencies are neglected. svn path=/main/trunk/; revision=9963 --- pym/_emerge/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 99e8b5a64..af2cfcd96 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -382,7 +382,7 @@ def create_depgraph_params(myopts, myaction): if "--deep" in myopts: myparams.add("deep") if "--complete-graph" in myopts: - myparams.add("consistent") + myparams.add("complete") return myparams # search functionality @@ -1860,7 +1860,7 @@ class depgraph(object): nodeps = "--nodeps" in self.myopts empty = "empty" in self.myparams deep = "deep" in self.myparams - consistent = "consistent" in self.myparams + complete = "complete" in self.myparams update = "--update" in self.myopts and dep.depth <= 1 if dep.blocker: if not buildpkgonly and \ @@ -1904,7 +1904,7 @@ class depgraph(object): # should have been masked. raise if not myarg: - if consistent: + if complete: self._ignored_deps.append(dep) return 1 @@ -2052,7 +2052,7 @@ class depgraph(object): return 1 elif pkg.installed and \ "deep" not in self.myparams: - if "consistent" not in self.myparams: + if "complete" not in self.myparams: return 1 dep_stack = self._ignored_deps @@ -2942,7 +2942,7 @@ class depgraph(object): Since this method can consume enough time to disturb users, it is currently only enabled by the --complete-graph option. """ - if "consistent" not in self.myparams: + if "complete" not in self.myparams: # Skip this to avoid consuming enough time to disturb users. return 1 -- cgit v1.2.3-1-g7c22