summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-24 20:40:11 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-24 20:40:11 +0000
commita04ac4b0924bb912f89fd126a423da31120e3f3b (patch)
tree0415956b2f28d926995dd0594d3816339466ef62
parentfde63a13c5e66b509ec01886fc78350f696b1046 (diff)
downloadportage-a04ac4b0924bb912f89fd126a423da31120e3f3b.tar.gz
portage-a04ac4b0924bb912f89fd126a423da31120e3f3b.tar.bz2
portage-a04ac4b0924bb912f89fd126a423da31120e3f3b.zip
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
-rw-r--r--pym/_emerge/__init__.py10
1 files 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