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

Side by Side Diff: tools/mac/symbolicate_crash.py

Issue 8825016: Use `/usr/bin/env python` instead of `/usr/bin/python2.6`. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: i suck at grep Created 9 years 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
« no previous file with comments | « chrome/tools/build/mac/tweak_info_plist ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python2.6 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ 6 """
7 This script can take an Apple-style CrashReporter log and symbolicate it. This 7 This script can take an Apple-style CrashReporter log and symbolicate it. This
8 is useful for when a user's reports aren't being uploaded, for example. 8 is useful for when a user's reports aren't being uploaded, for example.
9 9
10 Only versions 6, 7, 8, and 9 reports are supported. For more information on the 10 Only versions 6, 7, 8, and 9 reports are supported. For more information on the
11 file format, reference this document: 11 file format, reference this document:
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 print >>sys.stderr, 'Using symbols from ' + symbol_path 495 print >>sys.stderr, 'Using symbols from ' + symbol_path
496 print >>sys.stderr, '=' * 80 496 print >>sys.stderr, '=' * 80
497 497
498 report.Symbolicate(symbol_path) 498 report.Symbolicate(symbol_path)
499 PrettyPrintReport(report) 499 PrettyPrintReport(report)
500 return 0 500 return 0
501 501
502 502
503 if __name__ == '__main__': 503 if __name__ == '__main__':
504 sys.exit(Main(sys.argv)) 504 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « chrome/tools/build/mac/tweak_info_plist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698