public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11430 - main/branches/2.1.2/bin
@ 2008-08-17 23:03 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-08-17 23:03 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-08-17 23:03:55 +0000 (Sun, 17 Aug 2008)
New Revision: 11430

Modified:
   main/branches/2.1.2/bin/emerge
Log:
Fix spelling of depgraph._complete_threshold. (trunk r10774)


Modified: main/branches/2.1.2/bin/emerge
===================================================================
--- main/branches/2.1.2/bin/emerge	2008-08-17 23:03:06 UTC (rev 11429)
+++ main/branches/2.1.2/bin/emerge	2008-08-17 23:03:55 UTC (rev 11430)
@@ -2019,7 +2019,7 @@
 	# 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 @@
 
 		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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-17 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-17 23:03 [gentoo-commits] portage r11430 - main/branches/2.1.2/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox