Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r10774 - main/trunk/pym/_emerge
Date: Tue, 24 Jun 2008 22:55:24
Message-Id: E1KBHPy-0005r6-RK@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-06-24 22:55:17 +0000 (Tue, 24 Jun 2008)
3 New Revision: 10774
4
5 Modified:
6 main/trunk/pym/_emerge/__init__.py
7 Log:
8 Fix spelling of depgraph._complete_threshold.
9
10
11 Modified: main/trunk/pym/_emerge/__init__.py
12 ===================================================================
13 --- main/trunk/pym/_emerge/__init__.py 2008-06-24 22:53:25 UTC (rev 10773)
14 +++ main/trunk/pym/_emerge/__init__.py 2008-06-24 22:55:17 UTC (rev 10774)
15 @@ -1885,7 +1885,7 @@
16 # enable "complete" mode since any performance difference is
17 # not as likely to be noticed by the user after this much time
18 # has passed.
19 - _complete_thresold = 20
20 + _complete_threshold = 20
21
22 def __init__(self, settings, trees, myopts, myparams, spinner):
23 self._creation_time = time.time()
24 @@ -3386,14 +3386,14 @@
25
26 Since this method can consume enough time to disturb users, it is
27 currently only enabled by the --complete-graph option, or when
28 - dep calculation time exceeds self._complete_thresold.
29 + dep calculation time exceeds self._complete_threshold.
30 """
31 if "--buildpkgonly" in self.myopts or \
32 "recurse" not in self.myparams:
33 return 1
34
35 if "complete" not in self.myparams:
36 - if time.time() - self._creation_time > self._complete_thresold:
37 + if time.time() - self._creation_time > self._complete_threshold:
38 self.myparams.add("complete")
39 else:
40 # Skip this to avoid consuming enough time to disturb users.
41
42 --
43 gentoo-commits@l.g.o mailing list