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

Side by Side Diff: tools/sysinfo.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 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
« no previous file with comments | « tools/syscall_stats.py ('k') | tools/test_lib.py » ('j') | 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/python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client 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 """Simple system info tool for bug reports, etc. 7 """Simple system info tool for bug reports, etc.
8 8
9 """ 9 """
10 10
11 11
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 PLATFORM_INFO[sys.platform]() 151 PLATFORM_INFO[sys.platform]()
152 except Exception, err: 152 except Exception, err:
153 print 'ERRROR: processing sys info', str(err) 153 print 'ERRROR: processing sys info', str(err)
154 else: 154 else:
155 print 'ERROR: unknwon platform', system.platform 155 print 'ERROR: unknwon platform', system.platform
156 156
157 return 0 157 return 0
158 158
159 159
160 sys.exit(main()) 160 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/syscall_stats.py ('k') | tools/test_lib.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698