OLD | NEW |
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 Loading... |
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()) |
OLD | NEW |