Fix spelling of depgraph._complete_threshold. (trunk r10774)
authorZac Medico <zmedico@gentoo.org>
Sun, 17 Aug 2008 23:03:55 +0000 (23:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 17 Aug 2008 23:03:55 +0000 (23:03 -0000)
svn path=/main/branches/2.1.2/; revision=11430

bin/emerge

index b90501314e5e5cb09d0c874bef03a271e33d4f4c..9f1d51156e29a47b90b40325b514a6055a74bdd5 100755 (executable)
@@ -2019,7 +2019,7 @@ class depgraph(object):
        # enable "complete" mode since any performance difference is
        # not as likely to be noticed by the user after this much time
        # has passed.
-       _complete_thresold = 20
+       _complete_threshold = 20
 
        def __init__(self, settings, trees, myopts, myparams, spinner):
                self._creation_time = time.time()
@@ -3452,14 +3452,14 @@ class depgraph(object):
 
                Since this method can consume enough time to disturb users, it is
                currently only enabled by the --complete-graph option, or when
-               dep calculation time exceeds self._complete_thresold.
+               dep calculation time exceeds self._complete_threshold.
                """
                if "--buildpkgonly" in self.myopts or \
                        "recurse" not in self.myparams:
                        return 1
 
                if "complete" not in self.myparams:
-                       if time.time() - self._creation_time > self._complete_thresold:
+                       if time.time() - self._creation_time > self._complete_threshold:
                                self.myparams.add("complete")
                        else:
                                # Skip this to avoid consuming enough time to disturb users.