Rename the "consistent" depgraph parameter to "complete" since what it
authorZac Medico <zmedico@gentoo.org>
Thu, 24 Apr 2008 20:40:11 +0000 (20:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 Apr 2008 20:40:11 +0000 (20:40 -0000)
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

index 99e8b5a64bce711a8a2c563a7cef557d7f0ad00a..af2cfcd96417e731baaac562306282840ec2cc54 100644 (file)
@@ -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