OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 3 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 import collections | 7 import collections |
8 import re | 8 import re |
9 import subprocess | 9 import subprocess |
10 import sys | 10 import sys |
11 | 11 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 PrintErrors(binary, errors) | 118 PrintErrors(binary, errors) |
119 errors = [] | 119 errors = [] |
120 print line.rstrip() | 120 print line.rstrip() |
121 | 121 |
122 if errors: | 122 if errors: |
123 PrintErrors(binary, errors) | 123 PrintErrors(binary, errors) |
124 | 124 |
125 | 125 |
126 if __name__ == '__main__': | 126 if __name__ == '__main__': |
127 main() | 127 main() |
OLD | NEW |