diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-24 22:55:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-24 22:55:17 +0000 |
commit | e769c7876d6b44c8f986ef8b72832196b91c69fe (patch) | |
tree | a36c86a8c559fe0a906b7f46e7228b056c06afc3 | |
parent | b77afc745bcacf95632ab4aed4ae3698215548a7 (diff) | |
download | portage-e769c7876d6b44c8f986ef8b72832196b91c69fe.tar.gz portage-e769c7876d6b44c8f986ef8b72832196b91c69fe.tar.bz2 portage-e769c7876d6b44c8f986ef8b72832196b91c69fe.zip |
Fix spelling of depgraph._complete_threshold.
svn path=/main/trunk/; revision=10774
-rw-r--r-- | pym/_emerge/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 108c3321b..380f07d20 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1885,7 +1885,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() @@ -3386,14 +3386,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. |