Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Side by Side Diff: third_party/scons/scons-local/SCons/Debug.py

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 """SCons.Debug 1 """SCons.Debug
2 2
3 Code for debugging SCons internal things. Not everything here is 3 Code for debugging SCons internal things. Not everything here is
4 guaranteed to work all the way back to Python 1.5.2, and shouldn't be 4 guaranteed to work all the way back to Python 1.5.2, and shouldn't be
5 needed by most users. 5 needed by most users.
6 6
7 """ 7 """
8 8
9 # 9 #
10 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion 10 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion
(...skipping 11 matching lines...) Expand all
22 # 22 #
23 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 23 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
24 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 24 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
25 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 25 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 26 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 27 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 28 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 29 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 # 30 #
31 31
32 __revision__ = "src/engine/SCons/Debug.py 3603 2008/10/10 05:46:45 scons" 32 __revision__ = "src/engine/SCons/Debug.py 3842 2008/12/20 22:59:52 scons"
33 33
34 import os 34 import os
35 import string 35 import string
36 import sys 36 import sys
37 37
38 # Recipe 14.10 from the Python Cookbook. 38 # Recipe 14.10 from the Python Cookbook.
39 try: 39 try:
40 import weakref 40 import weakref
41 except ImportError: 41 except ImportError:
42 def logInstanceCreation(instance, name=None): 42 def logInstanceCreation(instance, name=None):
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 try: 207 try:
208 fp = TraceFP[file] 208 fp = TraceFP[file]
209 except KeyError: 209 except KeyError:
210 try: 210 try:
211 fp = TraceFP[file] = open(file, mode) 211 fp = TraceFP[file] = open(file, mode)
212 except TypeError: 212 except TypeError:
213 # Assume we were passed an open file pointer. 213 # Assume we were passed an open file pointer.
214 fp = file 214 fp = file
215 fp.write(msg) 215 fp.write(msg)
216 fp.flush() 216 fp.flush()
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/CacheDir.py ('k') | third_party/scons/scons-local/SCons/Defaults.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698